Hi Hemant,

This may be too late a reply, (you might have already found out the
solution) but still here it is....

man page for mount says "Normally, only the superuser can mount file
systems. However, when *fstab* contains the *user* option on a line, anybody
can mount the corresponding system.

Thus, given a line */dev/cdrom /cd iso9660 ro,user,noauto,unhide* any user
can mount the iso9660 file system found on his CDROM using the command
 *mount /dev/cdrom"*
So in your case, you may want to add the following entry to /etc/fstab

/dev/sda1 /mnt/usbdrive vfat user,noauto

post this, you can plug in the USB device and issue mount /mnt/usbdrive as
any normal user. Please check the man page for mount for a better
explanation of all the options.

Regards

Subhasis


On 4/26/07, Sharad Birmiwal <[EMAIL PROTECTED]> wrote:

> You don't mount /dev/sda but /dev/sda1 (see dmesg output for list of
> partitions available on sda).
> Do "su" first and then try mounting the device. From the same root
> terminal,
> see if you are able to see the contents of the partition. Are you sure it
> has vfat file-system?
> Mounting it should be as simple as
> # mkdir /mnt/usb
> # mount /dev/sda1 /mnt/usb
> # ls /mnt/usb
>
>
> Sharad Birmiwal
>
>
> On 4/25/07, hemant ritturaj <[EMAIL PROTECTED]> wrote:
> >
> > **
> > On 4/25/07, Shakthi Kannan <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > On 4/25/07, hemant ritturaj <[EMAIL PROTECTED]> wrote:
> > > > I am wokring with fedora core 4
> > >
> > > Any recent for not upgrading to FC6?
> > > No  specific reason as such but dnt want to upgrade at this moment to
> > FC6
> > > > when it is plugged in to usb it doesnot automount but it shows the
> > mount
> > > > point in fstab
> > >
> > > What entry? AFAIK, /etc/fstab is a text file that is not updated by
> > > hotplug events.
> >
> >
> >
> > I dnt have any knowldge of how else i can make it mounted
> >
> > made changes in fstab such as this
> > > */dev/sda /home/helpero/Desktop/flash vfat
> > > users,noauto,uid=helpero,gid=users 0 0*
> >
> >
> >
> >
> > > but when i try to mount it through user it gives a mount
> > > > error
> > > > mount: can only be mount bt superuser
> > >
> > > Can you mount it as a root user?
> >
> > Yes thru root it mounts but is able to write only as root not as user
> >
> >
> > > I tried all the possible ways like putting it /etc/fstab
> > >
> > > Such as?
> > >
> > > > How can i automount any USB ???
> >
> >
> > I want as i plug the device it should be automounted on the system
> >
> > Recent distros should automount USB devices for you with udev. After
> > > you plug-in the device, post output of:
> > > The message it give is
> > >
> >
> > /bin/dmesg | tail
> > > sda: Write Protect is off
> > > sda: Mode Sense: 00 00 00 00
> > > sda: assuming drive cache: write through
> > > SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)
> > > sda: Write Protect is off
> > > sda: Mode Sense: 00 00 00 00
> > > sda: assuming drive cache: write through
> > >  sda: sda1
> > > Attached scsi removable disk sda at scsi12, channel 0, id 0, lun 0
> > > usb-storage: device scan complete
> > >
> > > SK
> > >
> > > --
> > > Shakthi Kannan
> > > http://www.shakthimaan.com
> > >
> > > _______________________________________________
> > > ilugd mailinglist -- [email protected]
> > > http://frodo.hserus.net/mailman/listinfo/ilugd
> > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> > > http://www.mail-archive.com/[email protected]/
> > >
> >
> >
> >
> > --
> > Hemant Ritturaj Kushwaha
> > _______________________________________________
> > ilugd mailinglist -- [email protected]
> > http://frodo.hserus.net/mailman/listinfo/ilugd
> > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> > http://www.mail-archive.com/[email protected]/
> >
> _______________________________________________
> ilugd mailinglist -- [email protected]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/[email protected]/
>
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to