External cases for internal IDE drives; LiveCDs

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Sat Jun 10 03:27:06 UTC 2006


On Thu, Jun 08, 2006 at 09:07:18PM -0400, moliver-fC0AHe2n+mcIvw5+aKnW+Pd9D2ou9A/h at public.gmane.org wrote

> How do you figure out which block device it is, when you want to mount
> it?

  The hard way...
  - as root, execute "fdisk -l" *BEFORE* connecting the device
  - as root, execute "fdisk -l"  *AFTER* connecting the device

  You should see an extra device "/dev/sda" or whatever.  Then you'd
have to manually mount it, which can only be done by root, unless you
have an entry for the device in /etc/fstab.  You're better off writing
udev rules to create a name that is always associated with that device.

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list