[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ossig] problem with thumb drive
> i have problem configure a pendrive with 2 partition
> on linux.
USB drives are accessed via the SCSI subsystem and
typically the first partition is /dev/sda1 and 2nd /dev/sda2
etc (assuming that you do not already have scsi drives).
> i test it on windows xp, one partition is recognise as
> a drive E(behave like as ordinary pendrive), another
> is regognise as floppy disk,
>
> how do i configure it on linux?
Try mount /dev/sda1 /mnt/sda1 for the 1st one
and mount /dev/sda2 /mnt/sda2 for the 2nd. I am assuming
that you have a directory in /mnt/sda1 and /mnt/sda2.
Also, since you did not mention the version of Linux you
are running, I am giving a generic response.
> what should add to the fstab file?
>
> i did configure a pendrive on linux before( and all
> have only one partition on it).
in my /etc/fstab:
/dev/sda1 /mnt/usb1 vfat
pamconsole,noatime,sync,exec,noauto,managed 0 0
/dev/sda2 /mnt/usb2 ext3
pamconsole,noatime,sync,exec,noauto,managed 0 0
Mine has usb1 as a vfat and usb2 as ext3. Change
it to suit your purposes.
HTH.
Harish
---------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message