Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Sunday, September 7, 2008

mounting NTFS partitions

what kernel?
uname -r

e2label (to label a partition with the label mydocs
edit fstab to contain:
LABEL=ublinux /dev/sda6 ext3 defaults,errors=remount-ro 0 2
but better don't use label, use UUID

To mount a NTFS partition (hda7)
#mkdir /mnt/DATA
#mount -t ntfs rw /dev/hda7 /mnt/DATA

to mount a NTFS partition (DATA in hda7) in fstab:
/dev/hda7 /DATA ntfs rw,users,gid=users,umask=0002,nls=iso8859-1 0 0

/dev/hda7 /mnt/DATA ntfs auto,uid=user,defaults 0 0

or only read rights for a special user:
/dev/hda7 /DATA /dev/hda7 ntfs ro,uid=imbeculus,defaults 0 0

/dev/hdb1 /mnt/hdb1 ntfs ro,uid=500,defaults 0 0

unmount and remount!

FAT32 partition:
mkdir /FAT32
/dev/hda8 /FAT32 vfat rw,auto,users,umask=000 0 0

No comments: