Find the answer to your Linux question:
Results 1 to 4 of 4
I'm trying to make it so that I don't have to mount my digital camera via command line in Sarge each time I want to use it. Currently I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Location
    Dallas, Texas
    Posts
    95

    fstab line switches for digital camera in Debian Sarge?


    I'm trying to make it so that I don't have to mount my digital camera via command line in Sarge each time I want to use it. Currently I have to type the following whenever I want to pull photos off of it:

    Code:
    mount /dev/sdb1 /camera
    This works until I reboot or remove and reattach the camera, but ideally I'd like to be able to have it automatically mounted whenever I hook it up. I've been reading the fstab and mount man pages, but I'm not sure I understand this well enough to put the line together that I need. Can anyone help me write the line I need to add to fstab?

    Camera: HP R707 set to act as a USB drive.

    Results for camera using "fdisk -l":
    Disk /dev/sdb: 255 MB, 255853056 bytes
    16 heads, 30 sectors/track, 1041 cylinders
    Units = cylinders of 480 * 512 = 245760 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 1042 249835+ 6 FAT16

  2. #2
    Linux Engineer LondoJowo's Avatar
    Join Date
    May 2005
    Location
    Richmond, TX
    Posts
    804
    Try adding the following line to fstab.

    Code:
    /dev/sdb1 /mnt/camera vfat noauto,users,dev 0 0
    Dell Precision T7400 Workstation
    Dual 3.33Ghz Xeon "Harpertown" Core
    16GB PC5300 DDR2 ECC CL5
    BFG GeForce GTX 285 OC 2GB
    X-Fi Platinum
    HP w2408 24" Monitor
    Dual Boot:openSUSE 11.2/Win 7 Ultimate

  3. #3
    Just Joined!
    Join Date
    May 2005
    Location
    Dallas, Texas
    Posts
    95
    Thanks a million LondoJowo! This does exactly what I was hoping for!

  4. #4
    Linux Engineer LondoJowo's Avatar
    Join Date
    May 2005
    Location
    Richmond, TX
    Posts
    804
    No problem, glad to have helped
    Dell Precision T7400 Workstation
    Dual 3.33Ghz Xeon "Harpertown" Core
    16GB PC5300 DDR2 ECC CL5
    BFG GeForce GTX 285 OC 2GB
    X-Fi Platinum
    HP w2408 24" Monitor
    Dual Boot:openSUSE 11.2/Win 7 Ultimate

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •