[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disks available

On Tue, Oct 02, 2007 at 04:50:23PM +0200, Ivan Glushkov wrote:
> a simple question: Is there a way under linux, as a user (i.e. without 
> superuser privileges) to find out how many hard drives are physically 
> connected on the computer? I am not interested in the info given by 
> /etc/fstab or by the df command, since both of them are showing mounted 
> disks, which is not what I want...

$ dmesg | less

will show you everything that the kernel reports

As will, e.g., /proc/ide/ide0/hda/model


Reply to: