mount
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mount [2012/08/08 21:22] – created admin | mount [2024/11/10 09:43] (current) – francesco | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ==== LINUX ==== | ||
| + | |||
| + | Per montare sotto Linux un disco esterno USB formattato in UFS da FreeBSD: | ||
| + | |||
| + | < | ||
| + | modprobe ufs | ||
| + | </ | ||
| + | |||
| + | e poi: | ||
| + | |||
| + | < | ||
| + | mount -t ufs -o ufstype=ufs2 /dev/sdb1 / | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| Per montare la chiavetta usb. | Per montare la chiavetta usb. | ||
| Line 13: | Line 28: | ||
| < | < | ||
| sudo mount -t ntfs -o uid=francesco, | sudo mount -t ntfs -o uid=francesco, | ||
| - | </code | + | </code> |
| + | |||
| + | Per smontare la chiavetta: | ||
| + | |||
| + | < | ||
| + | sudo umount /dev/sd*1 | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | Se il disco esterno è in formato FAT32: | ||
| + | |||
| + | < | ||
| + | sudo mount -t vfat -o uid=francesco, | ||
| + | </ | ||
| + | ---- | ||
| + | Se devi montare una partizione ufs (FreeBSD): | ||
| + | |||
| + | < | ||
| + | sudo mount -t ufs -o ufstype=ufs2, | ||
| + | </ | ||
| + | |||
| + | **Ma non funziona, non riesco ad entrare in /home** | ||
| + | --- | ||
| + | |||
| + | Se il disco che aggiungo è in formato Linux, il comando è ancora più semplice: | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | in questo caso ho montato il disco intero, non una sola partizione. | ||
| + | ---- | ||
| + | Per montare un CD-Rom sul serverHP: | ||
| + | |||
| + | < | ||
| + | sudo mount -t iso9660 /dev/scd0 / | ||
| + | </ | ||
| + | |||
| + | ==== FreeBSD ==== | ||
| + | |||
| + | Per montare il Quarto Disco formattato in EXT4 del serverHP sotto FreeBSD: | ||
| + | |||
| + | Dare questo comando per vedere come si chiama: | ||
| + | |||
| + | < | ||
| + | # gpart show | ||
| + | </ | ||
| + | |||
| + | caricare il modulo kernel di fuse: | ||
| + | |||
| + | < | ||
| + | kldload fuse | ||
| + | </ | ||
| + | |||
| + | o, a partire da FreeBSD 13.0: | ||
| + | |||
| + | < | ||
| + | kldload fusefs | ||
| + | </ | ||
| + | |||
| + | montarlo con questo comando: | ||
| + | |||
| + | < | ||
| + | ext4fuse /dev/ada3s1 / | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Per montare un disco esterno in formato ntfs in FreeBSD: | ||
| + | |||
| + | caricare il modulo kernel di fuse: | ||
| + | |||
| + | < | ||
| + | kldload fusefs | ||
| + | </ | ||
| + | |||
| + | e poi: | ||
| + | |||
| + | < | ||
| + | ntfs-3g /dev/da0p1 / | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Per montare il Quarto Disco (UFS) del server HP: | ||
| + | |||
| + | < | ||
| + | root@FreeBSD: | ||
| + | </ | ||
| + | |||
| + | Per montare un disco esterno collegato via USB e formattato in UFS: | ||
| + | |||
| + | < | ||
| + | root@FreeBSD: | ||
| + | </ | ||
mount.1344453737.txt.gz · Last modified: by admin
