Hi, On Tue, Oct 13, 2009 at 6:36 PM, loody <[email protected]> wrote:
> dear all: > > 2009/10/13 loody <[email protected]>: > > hi: > > > > 2009/10/13 loody <[email protected]>: > >> Dear all: > >> there is a long file name under my usb flash, but I only can see 8.3 > >> format under my linux. > >> Does that mean I lost any file system config? > >> if so, which one I should include? > >> my kernel version is 2.6.18. > >> appreciate your help, > >> miloody > > should I add more mount option? > > I only use: > > mount /dev/sda1 /media/usb > > appreciate your help, > I can fix my problem by using mount command as > mount -t vfat /dev/sda1 /media/usb > then iocharset=iso8859-1 will be added on and i can see the long file name. > > I have another question right now. > I write a autorun.sh to detect the hotplug event and mount the disk. > But if I got a usb HD that have vfat, NTFS and ext3 formats at > different partitions, > how could I write one mount command for all cases? > I cannot mount every /dev/sda[1-9] as -t vfat, right? > check "man mount" You give different mount types as "ext3" , "ntfs " etc. I hope i got your question correctly. > appreciate your help, > miloody > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to [email protected] > Please read the FAQ at http://kernelnewbies.org/FAQ > > Thanks, Rahul
