Linux Debian support - No x... Should USB drives automount?

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > September 2007 > No x... Should USB drives automount?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author No x... Should USB drives automount?
DebUser

2007-09-23, 1:15 pm

I have installed Debian etch 4.0r1 onto my computer. I do not use
any form of X windows, all work is done at the console as root or
a single user. This was a very basic installation, adding packages
as I need them.

When I plug my USB hard disk into the computer, should it mount
automatically? If not, is there anything I can do to make it happen?

I am not seeing it mount anywhere, or I'm looking in the wrong places.

I can add an entry into fstab, but if the disk is supposed to mount
automatically, then I shouldn't need to.
sk8r-365

2007-09-23, 1:15 pm

Horton heard a Who named DebUser saying:

<snip>
> When I plug my USB hard disk into the computer, should it mount
> automatically? If not, is there anything I can do to make it happen?
>
> I am not seeing it mount anywhere, or I'm looking in the wrong places.


While logged in your console enter this
tail -f /var/log/messages

.... then plug in your USB device and watch the screen. Mine shows
up like this (date and time redacted):

kernel: usb 3-8: new high speed USB device using ehci_hcd a nd address 30
kernel: usb 3-8: configuration #1 chosen from 1 choice
kernel: scsi5 : SCSI emulation for USB Mass Storage devices
kernel: Vendor: LEXAR Model: JD FIREFLY Rev: 1 100
kernel: Type: Direct-Access ANSI S CSI revision: 00
kernel: SCSI device sdf: 1981440 512-byte hdwr sectors (101 4 MB)
kernel: sdf: Write Protect is off
kernel: SCSI device sdf: 1981440 512-byte hdwr sectors (101 4 MB)
kernel: sdf: Write Protect is off
kernel: sdf: sdf1
kernel: sd 5:0:0:0: Attached scsi removable disk sdf

> I can add an entry into fstab, but if the disk is supposed to mount
> automatically, then I shouldn't need to.


If udev and hal are installed the system should mount it for you when plugged in
and there should be an entry in /media for the device; the device will also be
removed from /media upon unplugging. Check by entering:
ls /media/*

Give the system about 5 seconds to respond when plugging in/out the
device.

--
sk8r-365
The only way to make Windows "secure":
1) go to http://goodbye-microsoft.com
2) replace existing operating system.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com