Re: [opensuse] mlabel usage?

2008-01-24 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Thursday 2008-01-24 at 14:42 -0500, Greg Freemyer wrote:


Tsk, tsk... its part of the mtools package.


Okay, stupid question, but how do I invoke it?

it says "mlabel drive:"  in man mlabel.

I don't have a lot of drive letters on my machine. :)


You define the letters in the configuration file for mtools, ie, 
/etc/mtools.conf:


drive c: file="/dev/hda1"
drive d: file="/dev/hdd1"


read man mtools - or info ;-)

- -- 
Cheers,

   Carlos E. R.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHmPfstTMYHG2NR9URAuVFAJ95wiqITDUwbYpp08h1nTiTuWPHeACfYfkE
P/jlx9rU9KJoNGFuZWIxAGQ=
=CTxK
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] mlabel usage?

2008-01-25 Thread Aaron Kulkis

Greg Freemyer wrote:

And where do I find mlabel.  I just looked in Yast2 and don't find
anything relevant when I search (OS 10.3)

Tsk, tsk... its part of the mtools package.


Okay, stupid question, but how do I invoke it?

it says "mlabel drive:"  in man mlabel.


it says:
mlabel [-vcsn] [-N serial] drive:[new_label]



I don't have a lot of drive letters on my machine. :)


try this way

mlabel -s /dev/whatever:

If that shows you a label, then try this

mlabel /dev/whatever:new_label_here



This is for a specific script for which I will have at least 3
physical drives connected to the box.

I will know the mount point and can get the /dev/SDxx or /dev/HDxx
entry, but the drive letter?

Thanks
Greg




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] mlabel usage?

2008-01-25 Thread Carlos E. R.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



The Friday 2008-01-25 at 00:20 -0500, Aaron Kulkis wrote:


try this way

mlabel -s /dev/whatever:


No, drive is a letter, MsDos style.

- -- 
Cheers,

   Carlos E. R.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHmcxAtTMYHG2NR9URAjISAJ9/hN/8kbCj4wJTWT14F3obPmxE+wCfT9O8
2VgjSG+Qf3QEpK3okDpbvbs=
=Qk70
-END PGP SIGNATURE-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]