Professional Web Applications Themes

usb devices /etc/fstab - Debian

hi, i have two usb removable mass storage devices (camera and vorbis player) that are both setup in /etc/fstab to use /dev/sda1 as the device. what should i do if i want both to be plugged in and mounted at the same time? obviously if i only want to use one at a time, then i can leave the devices alone, /dev/sda1 will always work for that situation. how have others worked around this? i have tried mounting the second one (after the other is mounted to /dev/sda1) to /dev/sdb1 but that came up with errors. i have poked around ...

  1. #1

    Default usb devices /etc/fstab

    hi,

    i have two usb removable mass storage devices (camera and vorbis player)
    that are both setup in /etc/fstab to use /dev/sda1 as the device. what
    should i do if i want both to be plugged in and mounted at the same
    time?

    obviously if i only want to use one at a time, then i can leave the
    devices alone, /dev/sda1 will always work for that situation. how have
    others worked around this?

    i have tried mounting the second one (after the other is mounted to
    /dev/sda1) to /dev/sdb1 but that came up with errors. i have poked
    around /proc/scsi/ but dont know what to look for. dmesg also seemed to
    be a waste of time.

    thanks for the help.

    -matt zagrabelny


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    matt zagrabelny Guest

  2. #2

    Default Re: usb devices /etc/fstab

    The second device you plug in will probably show up as
    /dev/sdb1 (but I haven't used that.)

    you may also want to check out using devfsd if you have
    a recent enough kernel. devfsd dynamically adds and removes
    devices from the /dev hierarchy. and the naming has become
    more Solaris....

    /dev/scsi/host0/bus0/target0/lun0/part1
    /dev/scsi/host0/bus0/target0/lun0/part2
    /dev/scsi/host0/bus0/target0/lun0/part3

    and so on. So your two devices, when plugged in, should
    generate unique entries under the /dev/scsi hierarchy.

    but again my only hot pluggable device is a cd burner.
    I have never tried to plug another device in at the same
    time. But I'ld be pretty frustrated if it didn't work the
    way I expect. (I'm frustrated a lot of the time ;-)

    - Jeff

    On Sun, 2003-07-20 at 18:19, matt zagrabelny wrote:
    > hi,
    >
    > i have two usb removable mass storage devices (camera and vorbis player)
    > that are both setup in /etc/fstab to use /dev/sda1 as the device. what
    > should i do if i want both to be plugged in and mounted at the same
    > time?
    >
    > obviously if i only want to use one at a time, then i can leave the
    > devices alone, /dev/sda1 will always work for that situation. how have
    > others worked around this?
    >
    > i have tried mounting the second one (after the other is mounted to
    > /dev/sda1) to /dev/sdb1 but that came up with errors. i have poked
    > around /proc/scsi/ but dont know what to look for. dmesg also seemed to
    > be a waste of time.
    >
    > thanks for the help.
    >
    > -matt zagrabelny
    >

    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Jeff Wiegley, Ph.D. Guest

  3. #3

    Default Re: usb devices /etc/fstab

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQA/G2VrrynHGRJLYfoRAgSIAJ9Py+UuQVtLi640EOUjO4cfQ9MZvA CffNbi
    FGWKQsXF2rZdxhRXl0Xz9cU=
    =LU4W
    -----END PGP SIGNATURE-----
    Hubert Chan Guest

Similar Threads

  1. Replies: 3
    Last Post: April 20th, 01:30 PM
  2. error in line_1 of /etc/fstab
    By noshellswill in forum Ubuntu
    Replies: 4
    Last Post: March 4th, 02:41 AM
  3. Sequence of entries in /etc/fstab
    By Doug Laidlaw in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: September 17th, 07:03 AM
  4. Jaguar - Moving Appplications Folder to seperate partition (/etc/fstab)
    By Stuart Norris in forum Mac Applications & Software
    Replies: 2
    Last Post: July 21st, 10:30 PM
  5. OSX - nidumped fstab/exports
    By Paul Nevai in forum Mac Applications & Software
    Replies: 0
    Last Post: July 5th, 01:19 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139