You are not logged in.
Pages: 1
i want to set when i plugin usb drive, automatic mount with utf-8, how to set? i want to set in global, not set for only that usb device.
Last edited by Dogs1985 (2009-07-09 15:48:19)
Offline
/dev/sda1 /media/sda1 auto auto,umask=000,noatime,iocharset=utf8,codepage=932 0 0 <- such an example can't work ?
Offline
To manually mount them i do
sudo mount /dev/sde1 ~/kingston
ok but what happens if you have 2 different usb items that go back and forth between sde1 and sdf1/ I have a USB thumb and a USB external drvie that i plug in and out all the time. How do i find out what there UUID is so i can mount specific drives to specific places.
I have been doing just the manual and i am sick of it
And God created the Open Source Programming Community, and it was good. Satan retaliated with its evil twin, Windows and thus the battle for good and evil has begun.
Offline
i know how to use command to mount with utf8. but i want to automount with utf-8, how to set? i'm using gnome.
Offline
you can find your drives' UUIDs with (for sde1) 'ls -l /dev/sde1' - the long string after the '->' will be the UUID. you can use awk/sed/whatever to cut it otu and pipe it into fstab, to save copy-pasting it or trying to write it out manually. something like "ls -l /dev/sde1 | awk '{print $4}' > /etc/fstab" would do it, where the $4 is the column number that has the UUID.
alternatively, solutions using HAL may be easier to manage. if you only have one or two drives, though, fstab should be fine.
Offline
I use blkid for UUIDs
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
my problem is solved.
Offline
Pages: 1