DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 16th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

you can easily label it in MS-Windows.

in fbsd you can add a label while formating: newfs_msdos -L label ...
Reply With Quote
Old 16th May 2008
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Thanked 1 Time in 1 Post
Default

Ah, gotcha. Thank you, I'll check it out.

Is there a way to go back and reference what labels apply to? I can look in /dev/ufs to see what I've created so far, but how do I know what they are "linked to" for lack of a better term?

Edit: looks like maybe

# geom LABEL list

might be what I need.

Last edited by Bruco; 16th May 2008 at 03:11 PM.
Reply With Quote
Old 16th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

yes, or even:

# geom label status
Reply With Quote
Old 16th May 2008
Bruco Bruco is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Kalamazoo, MI, USA
Posts: 61
Thanked 1 Time in 1 Post
Default

Ah yes, that's much cleaner. Thanks again, you've been a great help with this. I'll have to thank you personally next time I'm in... Nuh, India? (that was a complete guess)

Last edited by Bruco; 16th May 2008 at 07:56 PM.
Reply With Quote
Old 16th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

i am glad that worked out.
yup, you guessed right.
Reply With Quote
Old 17th May 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 381
Thanked 13 Times in 13 Posts
Default

I've been trying this for a few days now and it doesn't seem to want to work for me

I'm not getting any errors.

and GEOM_PART_GPT and GEOM_LABEL are compiled into my kernel. The is FreeBSD 7.

It seems that once I reboot the labels disappear from the disks. Any pointers?
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Old 17th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

do you mean: when you run tunefs -L ... the label is detected by geom_label but after a reboot the label doesn't get detected?
Reply With Quote
Old 17th May 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 381
Thanked 13 Times in 13 Posts
Default

yes. At first i was getting the message that the label was removed when I exited single user mode. The I put geom_label_load in boot/loader.conf and I don't get that message, but it does not read the label.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Old 17th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

thats odd. i am not sure whats causing this.
currently, i am running fbsd 6.3 so i can't test this.
in case your running a custom perhaps you could try the default kernel.
Reply With Quote
Old 17th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

have you made the changes to fstab to use the label?

please post your your dmesg o/p
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for external drive buy suggestions gosha General Hardware 20 5th September 2009 05:32 AM
Problem Installing From External DVD Drive jimnms OpenBSD Installation and Upgrading 8 16th July 2009 07:12 PM
external drive partition question + fdisk question gosha OpenBSD General 15 15th June 2009 02:00 PM
WD Passport Portable external drive Beastie General Hardware 7 25th April 2009 12:50 PM
Trouble booting if USB drive attached map7 FreeBSD General 1 22nd December 2008 04:51 PM


All times are GMT. The time now is 11:07 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick