Results 1 to 6 of 6

Thread: where is udevinfo?

  1. #1
    Join Date
    Sep 2009
    Beans
    13

    where is udevinfo?

    I'm a new user (here's my first post) migrating from 6 years of gentoo. I'm trying to setup my filesystem right now. I have a large external drive with several partitions that I want mounted via /etc/fstab. The problem is I need udevinfo to tell me about the drive. Even though the "udev" package is installed, running
    "sudo udevinfo"
    gets me a
    "command not found"
    message.

    Where is this elusive executable?

    thank you

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: where is udevinfo?

    use udevadm instead.

    Code:
    udevadm info -q all -n /dev/sda1
    you can list the partitions with:
    Code:
    sudo fdisk -l
    or
    Code:
    sudo blkid

  3. #3
    Join Date
    Sep 2009
    Beans
    13

    Re: where is udevinfo?

    thanks for the quick help

  4. #4
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: where is udevinfo?

    Quote Originally Posted by sisco311 View Post
    use udevadm instead.

    Code:
    udevadm info -q all -n /dev/sda1
    you can list the partitions with:
    Code:
    sudo fdisk -l
    or
    Code:
    sudo blkid
    Thanks, Useful stuff.

    Question though..

    Are the UUIDs for USB drives hard coded, or can they be changed, say if you reformat etc?
    No longer participating......

  5. #5
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: where is udevinfo?

    Quote Originally Posted by Jose Catre-Vandis View Post
    Thanks, Useful stuff.

    Question though..

    Are the UUIDs for USB drives hard coded, or can they be changed, say if you reformat etc?
    Nope, UUIDs are not hard coded.

    Yep, they change after a reformat.

    You can use tune2fs to set a custom UUID.
    Code:
    man tune2fs | less +2/-U

    It doesn't matters if it's an USB drive or not, partitions are partitions.

  6. #6
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: where is udevinfo?

    Thanks sisco311
    No longer participating......

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
  •