Find the answer to your Linux question:
Results 1 to 3 of 3
I need to view the attached drives on my machine. Usually I get this done by using the Yast partition tool. I would like to know if there is an ...
  1. #1
    Linux User geese's Avatar
    Join Date
    Jan 2005
    Location
    Florida / Trinidad W.I.
    Posts
    284

    [SOLVED] View attached drives.

    I need to view the attached drives on my machine.
    Usually I get this done by using the Yast partition tool.

    I would like to know if there is an easier faster command line way of doing this.

    I tried 'fdisk -l' but it only showed the mounted partitions.

    Thanks

    Geese.
    Registered Linux user # 395739
    direplay.com

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    fdisk -l lists all available partitions and df -h lists mounted partitions.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User geese's Avatar
    Join Date
    Jan 2005
    Location
    Florida / Trinidad W.I.
    Posts
    284
    Ah yes fdisk -l did indeed work. Don't know how I missed it the first time
    Registered Linux user # 395739
    direplay.com

Posting Permissions

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