Results 1 to 4 of 4

Thread: after eject /dev/sdb, how to recreate /dev/sdbx using command

  1. #1
    Join Date
    Mar 2006
    Beans
    194

    after eject /dev/sdb, how to recreate /dev/sdbx using command

    here /dev/sdb is a usb external hdd

    after using eject /dev/sdb, /dev/sdbx for each partition will gone.

    how I can recreate /dev/sdbx for every partition by using command line.

    now I can unplug usb external hdd and plug in it again but I hope to use command line to achieve the same thing.

  2. #2
    Join Date
    May 2007
    Location
    Arizona
    Beans
    599
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: after eject /dev/sdb, how to recreate /dev/sdbx using command

    The command for unmounting a device is umount. You can unmount partitions by specifying the partition. An example would be
    Code:
    umount /dev/sde1


  3. #3
    Join Date
    Mar 2006
    Beans
    194

    Re: after eject /dev/sdb, how to recreate /dev/sdbx using command

    Quote Originally Posted by Moop View Post
    The command for unmounting a device is umount. You can unmount partitions by specifying the partition. An example would be
    Code:
    umount /dev/sde1
    thanks for help.

    I know umount can be used to unmount a partition and remount it again.

    I also curious if there is a opposite command after using eject /dev/sdb

  4. #4
    Join Date
    Mar 2006
    Beans
    194

    Re: after eject /dev/sdb, how to recreate /dev/sdbx using command

    sometimes when there are many partitions on one hdd, I just use eject /dev/sdb to unmount all partitions,

    on that situation, if there are any method to mount partition again?

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
  •