Jump to content

USB Camera - Fstab entry


Campy19
 Share

Recommended Posts

Ok,

 

I can mount and unmount my usb devices with these commands:

 

mount -t vfat /dev/sda1 /mnt/camera

 

umount -t vfat /dev/sda1 /mnt/camera

 

and now I have a couple of questions....

 

1) What would the fstab entry be?? I take it noauto needs to be in there so the device is not mounted if it is not attached...correct??

 

2) How do I safely detach the device w/o losing data??

 

3) Anyway to get an icon in KDE to pop up on the desktop once it is attached??

 

I'm running kernel 2.6.3 and mandrake 9.2

 

Thanks,

Chris

Link to comment
Share on other sites

i have a sony dsc p71 digital camera (i imagine my experience will probably apply to the whole p series).

/dev/sdb1  /mnt/camera	vfat  user,ro,umask=0  0 0

 

as you can see, i was scared of losing my precious pictures to an accident with linux, so i played it safe with ro. I recommend you do the same, at least until you are confident.

My device is sdb1, just because i already had a usb hard drive, use your sda1 if thats yours.

 

-fissy

 

ps, i'm using mine on the 2.6.3 kernel too, works like a charm

 

edit: i missed out your kde questions, i'm a gnome user so can't really help, all i know is that i can unmount and mount by right clicking on the desktop. Be sure to unmount before you disconnect! that advice is even given in windows, albeit in different words.

Edited by fissy
Link to comment
Share on other sites

 /dev/sda1 /mnt/camera vfat user,rw,noauto,suid,umask=0 0 0

 

If you're not sure of an option just leave it out. With this in the fstab you just type "mount /dev/sda1" in console and an icon pops on the desktop, then "umount /dev/sda1" makes it disappear.

 

If it doesn't, right click on the desktop and configure the desktop icons to show it when it's mounted.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...