WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: simple way to find mount point of boot device  (Read 2324 times)

Offline rminnich

  • Newbie
  • *
  • Posts: 13
simple way to find mount point of boot device
« on: October 11, 2009, 07:43:57 PM »
I have a usb stick working, which comes up as /dev/sda1 on some systems and /dev/sdb1 on others.

Now I can write the ugly script to find out "where did root come from" ... but I'm wondering if the info is already in / somewhere and I'm not finding it.

Any pointers?

Thanks

ron

Offline perthie

  • Full Member
  • ***
  • Posts: 118
Re: simple way to find mount point of boot device
« Reply #1 on: October 11, 2009, 08:06:34 PM »
Have a look at the hidden file /opt/.tce_dir. Is it useful?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: simple way to find mount point of boot device
« Reply #2 on: October 11, 2009, 11:27:55 PM »
You can use LABEL or UUID to identify the usb stick and reference it at boot.

See the wiki/faq for details.