Boot Drive Nomenclature and How to Figure it out

2010-09-03 Thread Martin McCormick
I have been writing a script to build a system from a mfsboot startup and it is going well but I want to revisit part of the script that I don't think I did a very good job with. Is there an automatic way to tell which of the devices shown in /dev is a likely system drive? This is

Re: Boot Drive Nomenclature and How to Figure it out

2010-09-03 Thread Adam Vande More
On Fri, Sep 3, 2010 at 9:10 AM, Martin McCormick mar...@dc.cis.okstate.eduwrote: I have been writing a script to build a system from a mfsboot startup and it is going well but I want to revisit part of the script that I don't think I did a very good job with. Is there an

Re: Boot Drive Nomenclature and How to Figure it out

2010-09-03 Thread Martin McCormick
Adam Vande More writes: Would doing something like: gpart list help? Thank you. I have never heard of gpart before so I gave it a try and that helps very much if the drive is already formatted. Most of these drives I plan to encounter will be formatted so this basically solves the

Re: Boot Drive Nomenclature and How to Figure it out

2010-09-03 Thread Adam Vande More
On Fri, Sep 3, 2010 at 10:04 AM, Martin McCormick mar...@x.it.okstate.eduwrote: Thank you. I have never heard of gpart before so I gave it a try and that helps very much if the drive is already formatted. Most of these drives I plan to encounter will be formatted so this basically