Re: I hate to bitch but bitch I must

2009-10-19 Thread Bob Hall
On Sun, Oct 18, 2009 at 11:48:55AM -0400, PJ wrote:
 Bob Hall wrote:
  On Sat, Oct 17, 2009 at 05:36:43PM -0400, PJ wrote:

  Bob Hall wrote:
  
  On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote:


  Actually, this has got very little to do with being a native English
  speaker or not. It's ere a matter of intonation (which, in writing, can
  only be conveyed to a certain degree, of course). 'Should' can certainly
  mean Don't try that. As in:
 
  Will the ice hold me?
  Well, technically it should.
 
  (Meaning: it probably will, but I'm not overly confident.)
  
  
  Actually, what's happening here is dropping part of a sentence. It's
  common in English to shorten
Yea, it should work, but it doesn't.


  Absolutely not! There is nothing to suggest either statement above. If
  one says it should work, it can mean (of course, it changes within
  different contexts) that all is ok and normal conditions (whatever they
  may be) will allow things to function correctly. There is certainly no
  implication about confidence... where do you get that? 
  
 
  From common English usage. Specifically, where? Australia, England, 
  Russia, France, USA, Canada... Again, that is your personal interpretation 
  and certainly not common English usage. Or better yet, try common sense. 
  Or, better yet, you *should* go back to school.

The third edition of Fowler's Modern English Usage gives British and
American usage.  Merriam-Webster's Dictionary of English Usage
concentrates more on American usage. I don't have access to any
specifically Australian or Canadian reference books.  Anyone interested
in the topic can look up the use of should as a modal verb and see
what is common usage.

My compliments to the authors of the man page for their clear and
concise use of English. My complements to Polytropan for spotting the
fact that should was being used as a modal verb, even if he didn't
call it that. My compliments to Warren Block for submitting the PR.  I
believe that's my cue to exit the thread.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-18 Thread Scott Bennett
 On Sat, 17 Oct 2009 05:18:48 +0200 Polytropon free...@edvax.de wrote:
On Fri, 16 Oct 2009 20:59:18 -0600 (MDT), Warren Block wbl...@wonkity.com 
wrote:
 I understand it, but see ambiguity in the word should.  Easy enough to 
 rewrite:
 
 BUGS
^
   ^^^
  ^
 ^^^
   ^^^
   ^^^
   ^^^
   ^^^

 Please note that the section header that reads BUGS is the operative
word here.

 This utility does not work on active file systems.
   ^^
 The above is the sole bug described in the BUGS section.  (The other
entry in this section is quite obviously just a silly play on words, not a
bug.)
 
 Now here's my challenge to PJ: use send-pr(1) or the web PR interface at 
 http://www.freebsd.org/send-pr.html to submit this as a doc bug report.
 
 That's how FreeBSD gets better, and how you help the next person in the 
 same situation.

That's a good advice, because in this particular situation,
the utility in question does NOT work on active file systems,
it refuses to do so and throws the proper error message.

There are cases where a program should work (under certain
circumstances), but if a specified setting is not met, it
works incorrectly (but still works), like using dump on a
filesystem that's changing - usually producing a defective
dump file that cannot be properly restored.

For completeness: If a program does not work, the manual
should not say it should work, but it does not work
regarding a given situation.

 The problem has nothing to do with the documention or any translation
problem, as I see it.  The problem is simply the failure of the OP to read
the section title, which clearly says, BUGS.
 Now please, all of you, stop spamming the list with all this nonsense.
The very first respondent could well have pointed out the problem, and that
would have been the end of the matter.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-18 Thread Ian Smith
PJ,

having (in this case at least) the luxury of reading freebsd-questions 
as a digest, I'm going to quote a few of your extracts from several 
messages, largely without surounding context, as it's all incredibly 
repetitive, masively overquoted and mostly just grasping for ambiguity 
as Warren Block so eloquently put it.

  To be as precise as possible, it means normally it should work so go
  ahead; then the question is - what do you mean by normally.
  In our case above, the instructions were to do the operation with the
  disk not in use and the os in SUM. That's very clear. Now, I f they
  wanted to point out a bug, the bug means that there is an anomaly under
  certain circumstances - and in this case there really is no bug as it is
  very clear as to how the instructions should be used. If they consider
  the operation under a live files system a bug, then they should just
  make a warning and say something along the lines of do not use on live
  system as that may destroy data or something to that effect.

I think you're only being so obtuse about this because you haven't had 
much experience reading man pages, and seem to expect them to conform to 
some sort of English Literary standards that are entirely inapplicable.

  Just a note: I find it strange that nobody looked into the problem of
  the confusion... I thought I had pointed out where the co;nfusion
  arises... and no one seems to have either understood the inconsistencies
  or bothere to read the explanation... oh well... let's keep on
  blundering away... ;-)

Must we?  The confusion, and the seems-like-a-hundred messages it's now 
spawned, is all yours.  Many have tried relentlessly and unsuccessfully 
to explain to you what just about everyone else has had no difficulty in 
understanding, because they don't try applying linguistic contortions to 
a simple statement by its (entirely English-speaking) authors.

 M. McKusick, W. Joy, S. Leffler, and R. Fabry, A Fast File System for
 UNIX, ACM Transactions on Computer Systems 2, 3, pp 181-197, August
 1984, (reprinted in the BSD System Manager's Manual, SMM:5).

BUGS
 This utility should work on active file systems.

 You can tune a file system, but you can't tune a fish.

If you want to see the _fascinating_ history of the tunefs(8) man page:
  http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/tunefs/tunefs.8

First go right down the bottom, Rev 1.1, and choose 'annotated' view .. 
you'll see the original text committed by Rodney Grimes.  If you don't 
know who Marshall McKusick, Bill Joy, Sam Leffler and Robert Fabry are, 
do some googling, or start at http://www.mckusick.com/articles.html

Rev 1.4 adds an interesting warning .. perhaps some pedant had suggested 
that a little humour was inappropriate :)  At some later point, mckusick 
corrected the spelling of 'Daemon', and later ru@ changed can't to 
cannot (FFS!).  This is a very carefully considered BUGS section, with 
over 15 years' of history.  Mess with it at your peril :)

  What in the world is RFC 2119? (that's a rhetorical question) I
  prefer to stick to orinary dictionaries, like Oxford, Collins, Webster...
  then again, my college university studies were in English lit... but I'm
  afraid I have have neglected that and have been somewhat dragged down to
  the level of the plebes in the hope they may catch some of my
  meanings... :-D

You need to use the right terms in the appropriate context, and it's 
best to try avoiding condescension when dealing with people who may not 
have attained your literary qualifications, but who clearly know a hell 
of a lot more about this subject than you do.

If you don't know about RFCs you'll get lost with lots of UNIX (and 
other computer system) references.  Google is your (and our!) friend.

   I understand that I'm confused :)

Ok.

   Actually, what's happening here is dropping part of a sentence. It's
   common in English to shorten
  Yea, it should work, but it doesn't.
 
  Absolutely not! There is nothing to suggest either statement above. If
  one says it should work, it can mean (of course, it changes within
  different contexts) that all is ok and normal conditions (whatever they
  may be) will allow things to function correctly. There is certainly no
  implication about confidence... where do you get that? It can mean ver
  confident just as well. And dropping a sentence is a very presumptuous
  assumption. but is doesn't is a specific condition... and there can me
  innumerable conditions.

Semantic obfuscation and failure to understand usage of 'BUGS' sections.  
Try reading a whole lot more manpages to get their drift, eg what would 
you make of BUGS: bound to be some without knowing the wisdom therein?

  In the end, it's up to the author to clarify... I don't understand what
  he's trying to do as on my stem his instructions/example just do not
  work anyway. :-(

You really cannot go on blaming others for your lack of comprehension, 
and 

Re: I hate to bitch but bitch I must

2009-10-18 Thread krad
2009/10/17 michael michael.copel...@gmail.com

 PJ wrote:

 michael wrote:


 PJ wrote:


 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 Perhaps I am being too wary, but I find that too many
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):

 for UFS the file system label is set with
 tunefs(8)
 
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE
 .

 what happened to glabel?
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.

 So, you have to run tunefs from an active file system to modify another
 disk?
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
  To change the root file
 system, the system must be rebooted after the file system is tuned.

 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.

 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3

 Oh? home is what? What does this have to do with the partitions?
 Here's from man glabel(8):

 EXAMPLES
 The following example shows how to set up a label for disk ``da2'', cre-
 ate a file system on it, and mount it:
 glabel label -v usr /dev/da2
 newfs /dev/label/usr
 mount /dev/label/usr /usr
 [...]
 umount /usr
 glabel stop usr
 glabel unload

 The next example shows how to set up a label for a UFS file system:
 tunefs -L data /dev/da4s1a
 mount /dev/ufs/data /mnt/data

 Am I to understand that glabel is only for a new system? What's with the
 newfs... I'm trying to set labels on an system that is already set up.
 And, the glabel examle above is not for UFS file systems? Oh, that's for
 tunefs?
 So why are we even dealing with this glabel?

 from manual:
 # tunefs -L /home/ //dev/da3/
 A label should now exist in /dev/ufs which may be added to /etc/fstab:
 /dev/ufs/home /home ufs rw 2 2

 Why? Is this necessary? and somewhere I saw tunefs -L volume
 /dev/da0s1a or something like that. Does that mean that each partition
 should be tunefsd? Maybe the guys who programmed this stuff understand;
 I sure don't. I just want to be able to set the labels according to what
 they say can be done... so shy not have a clear and concise explanation?

 Do people who write this stuff ever read it? Tell me that its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going
 on... and doing things through a dense fog does not produce creative
 results!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 ok, in short since i didn't see anyone answer this directly, your
 question of tunefs vs glabel:

 tunefs is for UFS: it labels a UFS filesystem, no matter the device,
 ie: ad or da. tunefs is part of the filesystem utilities for UFS.
 good example, can't tunefs -L SWAP /dev/ad0s1b if it is a swap. you
 can glabel it.

 glabel is for labeling a device itself. you can glabel an ntfs
 filesystem or ext2, whatever.




 Thanks for that, Michael.
 But can you explain what this means? It just is not clear for me.
 # tu;nefs -L home /dev/da3
 This puts a label on that disk? So now it can be referred to as home?
 da3 = home ?

 I'll try to delve into the man glabel further... but things still look
 murky.



 tunefs -L HOME /dev/da3 will put the label /dev/ufs/HOME pointing to
 /dev/da3 . da3=home. exactly correct.
 the main idea behind that is that you can move the device around, etc.
 since fstab is looking in /dev/ufs/NAMES_OF_DISKS/PARTITIONS instead of
 /dev/da[0-9] type setup. you can move it to any controller and still boot(if
 you have the driver for the controller).

 the glabel command can label ANY disk/slice/partition. its great when you
 get away form the old mbr setup and switch to gpt. gpt lets you have an
 arbitrary number of partitions. and when you think about it, names are so
 much better than numbers anyway, its why we use DNS on networks. imagine
 having to remember every ip you have to use.

 peace

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


arbitrary number of partitions

erm 128 IIRC, so practically yes
___
freebsd-questions@freebsd.org mailing 

Re: I hate to bitch but bitch I must

2009-10-18 Thread PJ
Bob Hall wrote:
 On Sat, Oct 17, 2009 at 05:36:43PM -0400, PJ wrote:
   
 Bob Hall wrote:
 
 On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote:
   
   
 Actually, this has got very little to do with being a native English
 speaker or not. It's ere a matter of intonation (which, in writing, can
 only be conveyed to a certain degree, of course). 'Should' can certainly
 mean Don't try that. As in:

 Will the ice hold me?
 Well, technically it should.

 (Meaning: it probably will, but I'm not overly confident.)
 
 
 Actually, what's happening here is dropping part of a sentence. It's
 common in English to shorten
 Yea, it should work, but it doesn't.
   
   
 Absolutely not! There is nothing to suggest either statement above. If
 one says it should work, it can mean (of course, it changes within
 different contexts) that all is ok and normal conditions (whatever they
 may be) will allow things to function correctly. There is certainly no
 implication about confidence... where do you get that? 
 

 From common English usage. Specifically, where? Australia, England, Russia, 
 France, USA, Canada... Again, that is your personal interpretation and 
 certainly not common English usage. Or better yet, try common sense. Or, 
 better yet, you *should* go back to school.
   

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-18 Thread PJ
Manolis Kiagias wrote:
 PJ wrote:
   
 Manolis Kiagias wrote:
   
 
 PJ wrote:
   
 
   
 Manolis, my state of mind is quite clear... and I'm coping with
 everything quite allright... I'm not about to get mad at anyone or
 anything...
 but tell me, honestly, when you see the stuff I have described above?
 Woldn't that confuse anyone in their right mind?

   
 
   
 
 I am sorry, but there is something here, either some mistake on your
 part or some other weird problem on your system I can not think of.

 I don't seem to remember glabel ever failing to store metadata, unless
 1) The device is non-existing 2) The device is mounted.
 As a matter of fact, I did the glabel stuff on a machine a few hours
 ago. This was already fully installed, I rebooted single user and was
 done in less than 2 minutes.
 And yes, if you get a metadata error, it means nothing was done so you
 are *not* to go and change fstab!

 Could you  please send us /etc/fstab and the results of ls /dev/ad*
   
 
   
 Here are the outputs:

 fstab:
 # DeviceMountpointFStypeOptionsDumpPass#
 /dev/ad12s1bnoneswapsw00
 /dev/ad12s1a/ufsrw11
 /dev/ad12s1h/backupsufsrw22
 /dev/ad12s1g/homeufsrw22
 /dev/ad12s1d/tmpufsrw22
 /dev/ad12s1f/usrufsrw22
 /dev/ad12s1e/varufsrw22
 /dev/acd0/cdromcd9660ro,noauto00
 linproc  /usr/compat/linux/proc linprocfs rw 0 0

 df:
 Filesystem   1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad12s1a   2026030  319112  154483617%/
 devfs1   10   100%/dev
 /dev/ad12s1h  50777034   4 46714868 0%/backups
 /dev/ad12s1g  50777034 6276538 4043833413%/home
 /dev/ad12s1d   4058062  36  3733382 0%/tmp
 /dev/ad12s1f  50777034 5729324 4098554812%/usr
 /dev/ad12s1e   2026030  176070  1687878 9%/var
 linprocfs4   40   100%/usr/compat/linux/proc

 # ls /dev/ad*
 crw-r-  1 root  operator0,  97 Oct 17 16:36 /dev/ad0
 crw-r-  1 root  operator0, 103 Oct 17 16:36 /dev/ad0s1
 crw-r-  1 root  operator0, 101 Oct 17 16:36 /dev/ad10
 crw-r-  1 root  operator0, 106 Oct 17 16:36 /dev/ad10s1
 crw-r-  1 root  operator0, 121 Oct 17 16:36 /dev/ad10s1a
 crw-r-  1 root  operator0, 122 Oct 17 16:36 /dev/ad10s1b
 crw-r-  1 root  operator0, 123 Oct 17 16:36 /dev/ad10s1c
 crw-r-  1 root  operator0, 124 Oct 17 16:36 /dev/ad10s1d
 crw-r-  1 root  operator0, 125 Oct 17 16:36 /dev/ad10s1e
 crw-r-  1 root  operator0, 126 Oct 17 16:36 /dev/ad10s1f
 crw-r-  1 root  operator0, 127 Oct 17 16:36 /dev/ad10s1g
 crw-r-  1 root  operator0, 102 Oct 17 16:36 /dev/ad12
 crw-r-  1 root  operator0, 107 Oct 17 16:36 /dev/ad12s1
 crw-r-  1 root  operator0, 128 Oct 17 16:36 /dev/ad12s1a
 crw-r-  1 root  operator0, 129 Oct 17 16:36 /dev/ad12s1b
 crw-r-  1 root  operator0, 130 Oct 17 16:36 /dev/ad12s1c
 crw-r-  1 root  operator0, 131 Oct 17 16:36 /dev/ad12s1d
 crw-r-  1 root  operator0, 132 Oct 17 16:36 /dev/ad12s1e
 crw-r-  1 root  operator0, 133 Oct 17 16:36 /dev/ad12s1f
 crw-r-  1 root  operator0, 134 Oct 17 16:36 /dev/ad12s1g
 crw-r-  1 root  operator0, 135 Oct 17 16:36 /dev/ad12s1h
 crw-r-  1 root  operator0,  99 Oct 17 16:36 /dev/ad4
 crw-r-  1 root  operator0, 104 Oct 17 16:36 /dev/ad4s1
 crw-r-  1 root  operator0, 108 Oct 17 16:36 /dev/ad4s1a
 crw-r-  1 root  operator0, 109 Oct 17 16:36 /dev/ad4s1b
 crw-r-  1 root  operator0, 110 Oct 17 16:36 /dev/ad4s1c
 crw-r-  1 root  operator0, 111 Oct 17 16:36 /dev/ad4s1d
 crw-r-  1 root  operator0, 112 Oct 17 16:36 /dev/ad4s1e
 crw-r-  1 root  operator0, 113 Oct 17 16:36 /dev/ad4s1f
 crw-r-  1 root  operator0, 114 Oct 17 16:36 /dev/ad4s1g
 crw-r-  1 root  operator0, 100 Oct 17 16:36 /dev/ad6
 crw-r-  1 root  operator0, 105 Oct 17 16:36 /dev/ad6s1
 crw-r-  1 root  operator0, 115 Oct 17 16:36 /dev/ad6s1a
 crw-r-  1 root  operator0, 116 Oct 17 16:36 /dev/ad6s1b
 crw-r-  1 root  operator0, 117 Oct 17 16:36 /dev/ad6s1c
 crw-r-  1 root  operator0, 118 Oct 17 16:36 /dev/ad6s1d
 crw-r-  1 root  operator0, 119 Oct 17 16:36 /dev/ad6s1e
 crw-r-  1 root  operator0, 120 Oct 17 16:36 /dev/ad6s1f

 Sorry, but I don't see what this is going to tell you... ad0 is XP; ad10
 is minimal FreeBSD 7.2; ad12 is 7.2 on 500gb; ad4 is 7.2 on 80gb; and
 ad6 is messed up FBSD I'm cheking  setting up with clone of ad12
 (dump/restore)
 Now I will try the glabel again...
 # shutdown now
 # glabel label rootfs /dev/ad12s1a
 glabel: Can't 

Re: I hate to bitch but bitch I must

2009-10-18 Thread Manolis Kiagias
PJ wrote:

(trimmed down)

 Is entirely possible that I mucked up somewhere and did not do the
 shutdown -r quite right... anyway, it is working fine now.
 I still have some minor questions, though...
 Can glabel be done on a dormant file system and then boot that file
 system to change the fstab? 

You mean glabel the file system but still leave it as a normal device
name in fstab?
Sure, no problem there. The file system can either be mounted using it's
/dev/adXX (or /dev/daXX)
device name, it's label, or even the ufsid (assuming it is a UFS
filesystem, see the section below the glabel example)
So basically you can reboot after creating the label without changing
the fstab if you wish and change it later when you are certain that
glabel worked as you expected.

 I would think that that would be about the
 same things ad doing it from a mounted system in SUM.
 Then, the last question... where does tunefs really come in? .. I ask
   

As others have said (and as explained in Handbook section 19.6.1) tunefs
can only create labels for UFS filesystems. Glabel on the other hand is
not filesystem specific, you can label anything (for example, you have
already labeled the swap space which clearly is not a file system). That
makes glabel more suitable IMHO when the purpose is to completely
replace the device names in fstab.

So in short:

- If you wish to create permanent labels for anything including swap
space and 'alien' filesystems as well as UFS, use 'glabel label'
- If you wish to create temporary labels for anything including swap
space and 'alien' filesystems as well as UFS, use 'glabel create' (I
doubt this is very useful, but it is an option)
- If you wish to create permanent labels for UFS filesystems *only* you
have the option of using tunefs.
- If you do not wish to create labels yourself and you are only
interested in mounting UFS filesystems without using the device names,
you can use the ufsid labels that are created automatically when the
filesystem is first created.

From all the solutions, the only  one that covers both UFS and the swap
space and is permanent is the 'glabel label' command (hence the example
in the Handbook)

I hope this clears it up :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-18 Thread PJ
Ian Smith wrote:
 PJ,

 having (in this case at least) the luxury of reading freebsd-questions 
 as a digest, I'm going to quote a few of your extracts from several 
 messages, largely without surounding context, as it's all incredibly 
 repetitive, masively overquoted and mostly just grasping for ambiguity 
 as Warren Block so eloquently put it.

   To be as precise as possible, it means normally it should work so go
   ahead; then the question is - what do you mean by normally.
   In our case above, the instructions were to do the operation with the
   disk not in use and the os in SUM. That's very clear. Now, I f they
   wanted to point out a bug, the bug means that there is an anomaly under
   certain circumstances - and in this case there really is no bug as it is
   very clear as to how the instructions should be used. If they consider
   the operation under a live files system a bug, then they should just
   make a warning and say something along the lines of do not use on live
   system as that may destroy data or something to that effect.

 I think you're only being so obtuse about this because you haven't had 
 much experience reading man pages, and seem to expect them to conform to 
 some sort of English Literary standards that are entirely inapplicable.

   Just a note: I find it strange that nobody looked into the problem of
   the confusion... I thought I had pointed out where the co;nfusion
   arises... and no one seems to have either understood the inconsistencies
   or bothere to read the explanation... oh well... let's keep on
   blundering away... ;-)

 Must we?  The confusion, and the seems-like-a-hundred messages it's now 
 spawned, is all yours.  Many have tried relentlessly and unsuccessfully 
 to explain to you what just about everyone else has had no difficulty in 
 understanding, because they don't try applying linguistic contortions to 
 a simple statement by its (entirely English-speaking) authors.

  M. McKusick, W. Joy, S. Leffler, and R. Fabry, A Fast File System for
  UNIX, ACM Transactions on Computer Systems 2, 3, pp 181-197, August
  1984, (reprinted in the BSD System Manager's Manual, SMM:5).

 BUGS
  This utility should work on active file systems.

  You can tune a file system, but you can't tune a fish.

 If you want to see the _fascinating_ history of the tunefs(8) man page:
   http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/tunefs/tunefs.8

 First go right down the bottom, Rev 1.1, and choose 'annotated' view .. 
 you'll see the original text committed by Rodney Grimes.  If you don't 
 know who Marshall McKusick, Bill Joy, Sam Leffler and Robert Fabry are, 
 do some googling, or start at http://www.mckusick.com/articles.html

 Rev 1.4 adds an interesting warning .. perhaps some pedant had suggested 
 that a little humour was inappropriate :)  At some later point, mckusick 
 corrected the spelling of 'Daemon', and later ru@ changed can't to 
 cannot (FFS!).  This is a very carefully considered BUGS section, with 
 over 15 years' of history.  Mess with it at your peril :)

   What in the world is RFC 2119? (that's a rhetorical question) I
   prefer to stick to orinary dictionaries, like Oxford, Collins, Webster...
   then again, my college university studies were in English lit... but I'm
   afraid I have have neglected that and have been somewhat dragged down to
   the level of the plebes in the hope they may catch some of my
   meanings... :-D

 You need to use the right terms in the appropriate context, and it's 
 best to try avoiding condescension when dealing with people who may not 
 have attained your literary qualifications, but who clearly know a hell 
 of a lot more about this subject than you do.

 If you don't know about RFCs you'll get lost with lots of UNIX (and 
 other computer system) references.  Google is your (and our!) friend.

I understand that I'm confused :)

 Ok.

Actually, what's happening here is dropping part of a sentence. It's
common in English to shorten
 Yea, it should work, but it doesn't.
  
   Absolutely not! There is nothing to suggest either statement above. If
   one says it should work, it can mean (of course, it changes within
   different contexts) that all is ok and normal conditions (whatever they
   may be) will allow things to function correctly. There is certainly no
   implication about confidence... where do you get that? It can mean ver
   confident just as well. And dropping a sentence is a very presumptuous
   assumption. but is doesn't is a specific condition... and there can me
   innumerable conditions.

 Semantic obfuscation and failure to understand usage of 'BUGS' sections.  
 Try reading a whole lot more manpages to get their drift, eg what would 
 you make of BUGS: bound to be some without knowing the wisdom therein?

   In the end, it's up to the author to clarify... I don't understand what
   he's trying to do as on my stem his instructions/example just do not
   

Re: I hate to bitch but bitch I must

2009-10-18 Thread Jon Radel

PJ wrote:



It's owrthless to read your entire comment here as everyone is
forgetting two things, here...
1. COMMON SENSE
2. NOT EVERYONE WHO READS MANUALS OR MAN PAGES IS NECESSARILY LIMITED TO
THE NARROW MINDBEND OF THE INITIATED.


There are those who think those who bitch because they've not taken the 
time to understand terms of art (to borrow language from yet another 
of the many, many sub-varieties of English) that have been widely used 
in the community for decades, and seem to feel that their resulting 
confusion is obviously somebody else's fault and duty to fix, lack 
sense, common or otherwise.  On this, I suspect we'll just have to 
disagree.  (Though I will point out that in the above passage you've 
just told us that you admit to having forgotten common sense. 
Ordinarily I wouldn't stoop this low, but you've just spent much time 
telling us how much clearer, better, and comprehensible your brand of 
English is.))


Personally, I welcomed Ian's comments, as I believe he was the first to 
point out explicitly that language such as this is contextual, 
long-standing in the community in which it is used, and really not that 
confusing once you pay attention.  (My apologies to anyone else who 
discussed this earlier; I found it difficult to read every message in 
this thread.)


BTW, it's hard for me, personally, to take seriously anyone who quotes 
in full, with no trimming, something which he dismisses as worthless to 
read.


--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: I hate to bitch but bitch I must

2009-10-17 Thread jhell


On Fri, 16 Oct 2009 22:54, nealhogan@ wrote:

It is simple to understand Emglish but not so simple what was meant by
whoever wrote it...I cannot correct something that I do not uderstand...
come on, man, that should be easy to understand.
I am afraid that with all the globalization people still do not
understand that translations should be left to experts... an by that I
mean the final version should always, and I mean always, be by a native
speaking person.
I speak english, french, italian, some spanish and german as well as
latvian... but I would never attempt to translate into any language
other than English... and then not without the help of the original
language's originator. ;-)


since I'm in the mood
PJ, you certainly sound like a scholar . . . you speak many
languages and have a strict translation policy, yet (given those two
points) it doesn't follow you have any idea how to use any of those
languages.

You prefer drama and at some point we're going to realize that there
is no wolf? KISS! (google for translation).



Dear Neal,

Stop being a pathetic reply artist. Hit [Delete] next time or learn how 
to lead-in your replies so everyone knows who your replying to. He actually 
has a real point its just not caught with all the unneeded attention your 
bring to hist statement about language.


Little over dramatic and pathetic give it up its email

PS:
echo \
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc

Your best friend.

--

 ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
 ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
 ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Roman Neuhauser
On Fri, Oct 16, 2009 at 07:27:42PM -0400, PJ wrote:
 Polytropon wrote:
  On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
  but from man tunefs:
  BUGS
  This utility should work on active file systems.
  What in hades does this mean--just above it says cannot be run on active
  file systems. ???
  
 
  It should. This means: Don't try that. :-)
 
  My printer isn't printing!
  But it should.
  No, it is not printing!
  Yes, but it should.
  :-)
 

 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done

Dunno, maybe it's because E is my SL, but I fail to see the problem
here.  The meaning is clearly (SECTION BUGS, ffs) The friggin program
should have a feature it's currently lacking.

That's not to say I haven't had my share of gripes with man pages,
it's just that if you ignore the man page structure and associated
meaning, you're in for trouble.  Just like with any message.

--
roman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread PJ
Polytropon wrote:
 On Fri, 16 Oct 2009 21:29:04 -0400, PJ af.gour...@videotron.ca wrote:
   
 It is simple to understand Emglish but not so simple what was meant by
 whoever wrote it...I cannot correct something that I do not uderstand...
 come on, man, that should be easy to understand.
 

 As English is not my native language, I *now* understand the
 meaning of it should; in this case, it seems to mean something
 like basically, it is supposed to, but in this case, it does
 not, regarding the desired action.
   
To be as precise as possible, it means normally it should work so go
ahead; then the question is - what do you mean by normally.
In our case above, the instructions were to do the operation with the
disk not in use and the os in SUM. That's very clear. Now, I f they
wanted to point out a bug, the bug means that there is an anomaly under
certain circumstances - and in this case there really is no bug as it is
very clear as to how the instructions should be used. If they consider
the operation under a live files system a bug, then they should just
make a warning and say something along the lines of do not use on live
system as that may destroy data or something to that effect.



   
 I am afraid that with all the globalization people still do not
 understand that translations should be left to experts... an by that I
 mean the final version should always, and I mean always, be by a native
 speaking person.
 

 It's still possible that non-native speakers misunderstand.
   
Of course... but what you need is cooperation between the two - and both
should have some understanding of the particular area of expertise they
are dealing with.

Just a note: I find it strange that nobody looked into the problem of
the confusion... I thought I had pointed out where the co;nfusion
arises... and no one seems to have either understood the inconsistencies
or bothere to read the explanation... oh well... let's keep on
blundering away... ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread PJ
Mark wrote:
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of PJ
 Sent: zaterdag 17 oktober 2009 3:50
 To: Steve Bertrand
 Cc: Polytropon; freebsd-questions@freebsd.org
 Subject: Re: I hate to bitch but bitch I must

   
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on
 active file systems. ???


   
 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)
 

 Actually, this has got very little to do with being a native English
 speaker or not. It's ere a matter of intonation (which, in writing, can
 only be conveyed to a certain degree, of course). 'Should' can certainly
 mean Don't try that. As in:

 Will the ice hold me?
 Well, technically it should.

 (Meaning: it probably will, but I'm not overly confident.)

   
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It
 is a subtle difference and is indicative that whoever wrote it is not
 a native english user... the meaning is clearly should be executed,
 done, carried out, performed
   

 The meaning of 'should' is not nearly as narrow as you suggest. Often it
 also denotes reservation (as in the above example). To illustrate once
 more:

 Can I run dump on an active file system?
 It *should* run on an active file system, provided (enumerations of
 conditions which would need to be met; like preferably no disk-activity
 when making the backup).

 (Meaning: it can be done, but it's ill-advised, really.) And clearly it
 does not mean should be executed, done, carried out, performed.

 Another one:

 Will he run for President?
 Well, he should be able to get enough votes.

 (Meaning: if everything goes as planned, he might succeed, but it's by no
 means guaranteed he'll actually get enough votes).

 So, given the right intonation and context, This utility should work on
 active file systems. can certainly be understood to mean one could
 technically do so, but that it's not recommended.

 - Mark

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

   
I think you're trying to take the meaning of should a little too
far... to keep it simple, and without trying to intellectualize it, it
simply means (and this can change within certain contexts) normally, it
should work (in our context, here) but there is no implication of any
warnings or dangers ... the normally is implied, the rest you can do
with it as you wish, obviously at your rist... but even then the
interpretation goes too far. As I suggested to Polytropon, in this
particular case the instructions for the implementation of the procedure
are very clear: use on an inactive system or SUM... so where's the
bug... to suggest that it should work on an active system is confusing
- if the author thought it important that it wouldl not work on an
active system, perhaps he should have merely said do not use on an
active system... that would be consistent and very clear. ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread PJ
Warren Block wrote:
 On Fri, 16 Oct 2009, Bob Hall wrote:
 On Fri, Oct 16, 2009 at 07:27:42PM -0400, PJ wrote:
 BUGS
 This utility should work on active file systems.

 I'm a native English speaker, and the manual makes perfect sense to me.
 It's very clear to me that since the statement is in the BUGS section,
 it means that the utility should, but doesn't. Since it follows a
 statement that the utility doesn't, the meaning is unambiguous.

 I understand it, but see ambiguity in the word should.  Easy enough
 to rewrite:

 BUGS
 This utility does not work on active file systems.

 Now here's my challenge to PJ: use send-pr(1) or the web PR interface
 at http://www.freebsd.org/send-pr.html to submit this as a doc bug
 report.

 That's how FreeBSD gets better, and how you help the next person in
 the same situation.

 -Warren Block * Rapid City, South Dakota USA

As I mentioned earlier, I do not understand what the author really
intended, so I am out of place making any judgments. All I was saying is
that my understanding of all the instructions I found was and still is
confused... as I mentioned, changing this is between the author and
whoever translated, if that is the case. For me, I would still like to
hear from somone who could clear up the confusion... read my explanation
of what I found in themanuals and you will perhaps understand what is
confusing (tunefs and glabel appear to be stumbling over each other and
criss-crossing instructions.
From the way things are written, it would appear that one must do tunefs
before doing glabel and that they are interdependent. But tunefs says to
do tunefs /home /disk-slice yet glabel is dealing with partitions...
what does /home supposed to be a specific directory or a partition and
how does it relate to the disk? And then, how does it relate to glabel?

Manolis seems to have cleared things slightly on how to use glabel, but
strangely it did not work for me. I am about to try again and will sen
the fstab and ls disk prinouts as soon as I have another little problem
sorted out... shortly or tomorrow. Sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread PJ
Manolis Kiagias wrote:
 PJ wrote:
   
 Manolis, my state of mind is quite clear... and I'm coping with
 everything quite allright... I'm not about to get mad at anyone or
 anything...
 but tell me, honestly, when you see the stuff I have described above?
 Woldn't that confuse anyone in their right mind?

   
 

 I am sorry, but there is something here, either some mistake on your
 part or some other weird problem on your system I can not think of.

 I don't seem to remember glabel ever failing to store metadata, unless
 1) The device is non-existing 2) The device is mounted.
 As a matter of fact, I did the glabel stuff on a machine a few hours
 ago. This was already fully installed, I rebooted single user and was
 done in less than 2 minutes.
 And yes, if you get a metadata error, it means nothing was done so you
 are *not* to go and change fstab!

 Could you  please send us /etc/fstab and the results of ls /dev/ad*
   
Here are the outputs:

fstab:
# DeviceMountpointFStypeOptionsDumpPass#
/dev/ad12s1bnoneswapsw00
/dev/ad12s1a/ufsrw11
/dev/ad12s1h/backupsufsrw22
/dev/ad12s1g/homeufsrw22
/dev/ad12s1d/tmpufsrw22
/dev/ad12s1f/usrufsrw22
/dev/ad12s1e/varufsrw22
/dev/acd0/cdromcd9660ro,noauto00
linproc  /usr/compat/linux/proc linprocfs rw 0 0

df:
Filesystem   1K-blocksUsedAvail Capacity  Mounted on
/dev/ad12s1a   2026030  319112  154483617%/
devfs1   10   100%/dev
/dev/ad12s1h  50777034   4 46714868 0%/backups
/dev/ad12s1g  50777034 6276538 4043833413%/home
/dev/ad12s1d   4058062  36  3733382 0%/tmp
/dev/ad12s1f  50777034 5729324 4098554812%/usr
/dev/ad12s1e   2026030  176070  1687878 9%/var
linprocfs4   40   100%/usr/compat/linux/proc

# ls /dev/ad*
crw-r-  1 root  operator0,  97 Oct 17 16:36 /dev/ad0
crw-r-  1 root  operator0, 103 Oct 17 16:36 /dev/ad0s1
crw-r-  1 root  operator0, 101 Oct 17 16:36 /dev/ad10
crw-r-  1 root  operator0, 106 Oct 17 16:36 /dev/ad10s1
crw-r-  1 root  operator0, 121 Oct 17 16:36 /dev/ad10s1a
crw-r-  1 root  operator0, 122 Oct 17 16:36 /dev/ad10s1b
crw-r-  1 root  operator0, 123 Oct 17 16:36 /dev/ad10s1c
crw-r-  1 root  operator0, 124 Oct 17 16:36 /dev/ad10s1d
crw-r-  1 root  operator0, 125 Oct 17 16:36 /dev/ad10s1e
crw-r-  1 root  operator0, 126 Oct 17 16:36 /dev/ad10s1f
crw-r-  1 root  operator0, 127 Oct 17 16:36 /dev/ad10s1g
crw-r-  1 root  operator0, 102 Oct 17 16:36 /dev/ad12
crw-r-  1 root  operator0, 107 Oct 17 16:36 /dev/ad12s1
crw-r-  1 root  operator0, 128 Oct 17 16:36 /dev/ad12s1a
crw-r-  1 root  operator0, 129 Oct 17 16:36 /dev/ad12s1b
crw-r-  1 root  operator0, 130 Oct 17 16:36 /dev/ad12s1c
crw-r-  1 root  operator0, 131 Oct 17 16:36 /dev/ad12s1d
crw-r-  1 root  operator0, 132 Oct 17 16:36 /dev/ad12s1e
crw-r-  1 root  operator0, 133 Oct 17 16:36 /dev/ad12s1f
crw-r-  1 root  operator0, 134 Oct 17 16:36 /dev/ad12s1g
crw-r-  1 root  operator0, 135 Oct 17 16:36 /dev/ad12s1h
crw-r-  1 root  operator0,  99 Oct 17 16:36 /dev/ad4
crw-r-  1 root  operator0, 104 Oct 17 16:36 /dev/ad4s1
crw-r-  1 root  operator0, 108 Oct 17 16:36 /dev/ad4s1a
crw-r-  1 root  operator0, 109 Oct 17 16:36 /dev/ad4s1b
crw-r-  1 root  operator0, 110 Oct 17 16:36 /dev/ad4s1c
crw-r-  1 root  operator0, 111 Oct 17 16:36 /dev/ad4s1d
crw-r-  1 root  operator0, 112 Oct 17 16:36 /dev/ad4s1e
crw-r-  1 root  operator0, 113 Oct 17 16:36 /dev/ad4s1f
crw-r-  1 root  operator0, 114 Oct 17 16:36 /dev/ad4s1g
crw-r-  1 root  operator0, 100 Oct 17 16:36 /dev/ad6
crw-r-  1 root  operator0, 105 Oct 17 16:36 /dev/ad6s1
crw-r-  1 root  operator0, 115 Oct 17 16:36 /dev/ad6s1a
crw-r-  1 root  operator0, 116 Oct 17 16:36 /dev/ad6s1b
crw-r-  1 root  operator0, 117 Oct 17 16:36 /dev/ad6s1c
crw-r-  1 root  operator0, 118 Oct 17 16:36 /dev/ad6s1d
crw-r-  1 root  operator0, 119 Oct 17 16:36 /dev/ad6s1e
crw-r-  1 root  operator0, 120 Oct 17 16:36 /dev/ad6s1f

Sorry, but I don't see what this is going to tell you... ad0 is XP; ad10
is minimal FreeBSD 7.2; ad12 is 7.2 on 500gb; ad4 is 7.2 on 80gb; and
ad6 is messed up FBSD I'm cheking  setting up with clone of ad12
(dump/restore)
Now I will try the glabel again...
# shutdown now
# glabel label rootfs /dev/ad12s1a
glabel: Can't store metadata on /dev/ad0s1a

manual: it is assumed that a single ATA disk is used, which is
currently recognized by the system as ad0. It is also assumed that the

Re: I hate to bitch but bitch I must

2009-10-17 Thread PJ
Steve Bertrand wrote:
 PJ wrote:
   
 Steve Bertrand wrote:
 
 PJ wrote:
   
   
 Polytropon wrote:
 
 
 On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
   
   
   
   
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
 
 
 
 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)

   
   
   
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done
 
 
 If you feel that you've found a 'bug' within the manual/documentation of
 a piece of software or function, I highly recommend that you pass it by
 other users/developers ( as you've kind-of done here ), and then contact
 the person who is normally listed in the AUTHOR section of the man page
 after you get a consensus on whether the manual, the code or you have
 the bug :)

 If you believe the problem is an engish-linguistic one (and the man page
 is written in english), let the author know this. Provide the correct
 verbiage, and an explanation of what your words mean compared to theirs
 (remember, english may not be their first language).

 Also, take a look at RFC 2119 for the keyword 'SHOULD' and 'SHOULD NOT'.
 RFC 2119 is highly regarded as the authority for many keywords, and a
 quick reference of it may help when trying to explain to an author where
 you feel their documentation is incorrect (or lacking).
   
What in the world is RFC 2119? (that's a rhetorical question) I
prefer to stick to orinary dictionaries, like Oxford, Collins, Webster...
then again, my college university studies were in English lit... but I'm
afraid I have have neglected that and have been somewhat dragged down to
the level of the plebes in the hope they may catch some of my
meanings... :-D
 Cheers,

 Steve

   
   
 It is simple to understand Emglish but not so simple what was meant by
 whoever wrote it...I cannot correct something that I do not uderstand...
 come on, man, that should be easy to understand.
 

 I understand that I'm confused :)

   
 I am afraid that with all the globalization people still do not
 understand that translations should be left to experts... an by that I
 mean the final version should always, and I mean always, be by a native
 speaking person.
 

 That's an unfair thing to say. Are you saying that if someone with a
 French native tongue wrote software that would benefit everyone, and
 they wrote the manual in English to reach a broader audience, that the
 manual shouldn't be released unless proof-read and re-written by an
 English native?
   
YES! There are plenty of people who would be happy to help the guy get
the translation right... would you want someone to get a hold of a
weapon and then misuse it because the instructions are in sanskrit?
 Vous faire ce travail, mon ami? Je n'aime pas d'accord avec votre
 utilisation du mot doit.
   
You are definitely not a frog... ;-)
 ...the manual is available. I didn't mean to dis-respect you, I just
 meant that if one 'could' help, then the developer is the one to hit up.
   

   
 I speak english, french, italian, some spanish and german as well as
 latvian... but I would never attempt to translate into any language
 other than English... and then not without the help of the original
 language's originator. ;-)
 

 Nice... How 'bout Dutch ;) You will understand then:

 Ne dis pas que la documentation ne peuvent etre ecrites par un auteur si
 leur lange nest pas une espece indigen. 
   
Duh... that's not Dutch...
Nice try... your Frenchreminds me of my German... great pronunciation,
but the grammar is horrible  ;-)
Too many years ago I knew it well.
 Steve

   

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread PJ
Bob Hall wrote:
 On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote:
   
 Actually, this has got very little to do with being a native English
 speaker or not. It's ere a matter of intonation (which, in writing, can
 only be conveyed to a certain degree, of course). 'Should' can certainly
 mean Don't try that. As in:

 Will the ice hold me?
 Well, technically it should.

 (Meaning: it probably will, but I'm not overly confident.)
 

 Actually, what's happening here is dropping part of a sentence. It's
 common in English to shorten
   Yea, it should work, but it doesn't.
   
Absolutely not! There is nothing to suggest either statement above. If
one says it should work, it can mean (of course, it changes within
different contexts) that all is ok and normal conditions (whatever they
may be) will allow things to function correctly. There is certainly no
implication about confidence... where do you get that? It can mean ver
confident just as well. And dropping a sentence is a very presumptuous
assumption. but is doesn't is a specific condition... and there can me
innumerable conditions.
If you look at the immediate context of what we are dealing with here,
the author has clearly stated use in SUM and that implies an unmounted
system. If he considers using it on an active system as a bug, then he
should be clear about it and say do not use on an active system.

 to
   Yea, it should work.
 In order to catch the meaning, you have to be aware of context.

 Contrary to the OP's claim, this shows a pretty good grasp of English
 idiom. It's definitely not evidence that the man author is not a native
 speaker of English.

 On the other hand, it can be clarified so that the meaning is clear even
 without context. If the OP really believes that the present wording is a
 problem, other people have made suggestions on what to do about it.
   
In the end, it's up to the author to clarify... I don't understand what
he's trying to do as on my stem his instructions/example just do not
work anyway. :-(
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

   

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Bob Hall
On Sat, Oct 17, 2009 at 05:36:43PM -0400, PJ wrote:
 Bob Hall wrote:
  On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote:

  Actually, this has got very little to do with being a native English
  speaker or not. It's ere a matter of intonation (which, in writing, can
  only be conveyed to a certain degree, of course). 'Should' can certainly
  mean Don't try that. As in:
 
  Will the ice hold me?
  Well, technically it should.
 
  (Meaning: it probably will, but I'm not overly confident.)
  
 
  Actually, what's happening here is dropping part of a sentence. It's
  common in English to shorten
  Yea, it should work, but it doesn't.

 Absolutely not! There is nothing to suggest either statement above. If
 one says it should work, it can mean (of course, it changes within
 different contexts) that all is ok and normal conditions (whatever they
 may be) will allow things to function correctly. There is certainly no
 implication about confidence... where do you get that? 

From common English usage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread PJ
michael wrote:
 PJ wrote:
 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 Perhaps I am being too wary, but I find that too many
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):

 for UFS the file system label is set with
 tunefs(8)
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.

 what happened to glabel?
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.

 So, you have to run tunefs from an active file system to modify another
 disk?
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
  To change the root file
 system, the system must be rebooted after the file system is tuned.

 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.

 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3

 Oh? home is what? What does this have to do with the partitions?
 Here's from man glabel(8):

 EXAMPLES
 The following example shows how to set up a label for disk ``da2'', cre-
 ate a file system on it, and mount it:
 glabel label -v usr /dev/da2
 newfs /dev/label/usr
 mount /dev/label/usr /usr
 [...]
 umount /usr
 glabel stop usr
 glabel unload

 The next example shows how to set up a label for a UFS file system:
 tunefs -L data /dev/da4s1a
 mount /dev/ufs/data /mnt/data

 Am I to understand that glabel is only for a new system? What's with the
 newfs... I'm trying to set labels on an system that is already set up.
 And, the glabel examle above is not for UFS file systems? Oh, that's for
 tunefs?
 So why are we even dealing with this glabel?

 from manual:
 # tunefs -L /home/ //dev/da3/
 A label should now exist in /dev/ufs which may be added to /etc/fstab:
 /dev/ufs/home /home ufs rw 2 2

 Why? Is this necessary? and somewhere I saw tunefs -L volume
 /dev/da0s1a or something like that. Does that mean that each partition
 should be tunefsd? Maybe the guys who programmed this stuff understand;
 I sure don't. I just want to be able to set the labels according to what
 they say can be done... so shy not have a clear and concise explanation?

 Do people who write this stuff ever read it? Tell me that its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going
 on... and doing things through a dense fog does not produce creative
 results!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
   
 ok, in short since i didn't see anyone answer this directly, your
 question of tunefs vs glabel:

 tunefs is for UFS: it labels a UFS filesystem, no matter the device,
 ie: ad or da. tunefs is part of the filesystem utilities for UFS.
 good example, can't tunefs -L SWAP /dev/ad0s1b if it is a swap. you
 can glabel it.

 glabel is for labeling a device itself. you can glabel an ntfs
 filesystem or ext2, whatever.


Thanks for that, Michael.
But can you explain what this means? It just is not clear for me.
# tu;nefs -L home /dev/da3
This puts a label on that disk? So now it can be referred to as home?
da3 = home ?

I'll try to delve into the man glabel further... but things still look
murky.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Polytropon
On Sat, 17 Oct 2009 16:28:18 -0400, PJ af.gour...@videotron.ca wrote:
 From the way things are written, it would appear that one must do tunefs
 before doing glabel and that they are interdependent.

As it has been mentioned ealier and as far as I understood:
tunefs -L is for UFS file systems only, while glabel label
is for any media.



 But tunefs says to
 do tunefs /home /disk-slice yet glabel is dealing with partitions...

No. Slices aren't involved here. Only partitions can hold
file systems, and that is what labelling is about.



 what does /home supposed to be a specific directory or a partition and
 how does it relate to the disk?

First ofg all, /home is just an arbitrary mount point; in fact,
it is just a directory. The /etc/fstab file is the means that
connects this directory to a device (in this case, a disk
partition holding a file system).

For example, if you

# fsck /home

and /home is mounted from /dev/ad0s1g, then the device ad0s1g
will be checked. You CAN ONLY check devices. When you now remove
the entry for /home from /etc/fstab, the command

# fsck /home

will fail. Still, you can check this partition, but you need to
know its exact name, which would make

# fsck /dev/ad0s1g

the correct command.



 And then, how does it relate to glabel?

The glabel can be used on any media, such as FreeBSD's UFS
partitions. Those labels can take the place of the device in
the /etc/fstab file, but so can UFSIDs as well as tunefs -L
labels (for UFS file systems only).



 Manolis seems to have cleared things slightly on how to use glabel, but
 strangely it did not work for me. I am about to try again and will sen
 the fstab and ls disk prinouts as soon as I have another little problem
 sorted out... shortly or tomorrow. Sorry.

Would be interesting.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Vincent Hoffman
PJ wrote:
 michael wrote:
   
 PJ wrote:
 
 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 Perhaps I am being too wary, but I find that too many
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):

 for UFS the file system label is set with
 tunefs(8)
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.

 what happened to glabel?
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.

 So, you have to run tunefs from an active file system to modify another
 disk?
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
  To change the root file
 system, the system must be rebooted after the file system is tuned.

 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.

 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3

 Oh? home is what? What does this have to do with the partitions?
 Here's from man glabel(8):

 EXAMPLES
 The following example shows how to set up a label for disk ``da2'', cre-
 ate a file system on it, and mount it:
 glabel label -v usr /dev/da2
 newfs /dev/label/usr
 mount /dev/label/usr /usr
 [...]
 umount /usr
 glabel stop usr
 glabel unload

 The next example shows how to set up a label for a UFS file system:
 tunefs -L data /dev/da4s1a
 mount /dev/ufs/data /mnt/data

 Am I to understand that glabel is only for a new system? What's with the
 newfs... I'm trying to set labels on an system that is already set up.
 And, the glabel examle above is not for UFS file systems? Oh, that's for
 tunefs?
 So why are we even dealing with this glabel?

 from manual:
 # tunefs -L /home/ //dev/da3/
 A label should now exist in /dev/ufs which may be added to /etc/fstab:
 /dev/ufs/home /home ufs rw 2 2

 Why? Is this necessary? and somewhere I saw tunefs -L volume
 /dev/da0s1a or something like that. Does that mean that each partition
 should be tunefsd? Maybe the guys who programmed this stuff understand;
 I sure don't. I just want to be able to set the labels according to what
 they say can be done... so shy not have a clear and concise explanation?

 Do people who write this stuff ever read it? Tell me that its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going
 on... and doing things through a dense fog does not produce creative
 results!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
   
   
 ok, in short since i didn't see anyone answer this directly, your
 question of tunefs vs glabel:

 tunefs is for UFS: it labels a UFS filesystem, no matter the device,
 ie: ad or da. tunefs is part of the filesystem utilities for UFS.
 good example, can't tunefs -L SWAP /dev/ad0s1b if it is a swap. you
 can glabel it.

 glabel is for labeling a device itself. you can glabel an ntfs
 filesystem or ext2, whatever.


 
 Thanks for that, Michael.
 But can you explain what this means? It just is not clear for me.
 # tu;nefs -L home /dev/da3
 This puts a label on that disk? So now it can be referred to as home?
 da3 = home ?

   
yes. this makes a ufs label which you can access via /dev/ufs
for example (my home system)
jh...@ostracod
(23:08:34 ~) 0 $ ls /dev/ufs
SCRATCH SSDROOT SSDUSR  SSDVAR
jh...@ostracod
(23:08:39 ~) 0 $ mount
/dev/ufs/SSDROOT on / (ufs, local, noatime)
devfs on /dev (devfs, local, multilabel)
/dev/ufs/SSDUSR on /usr (ufs, local, noatime, soft-updates)
/dev/ufs/SSDVAR on /var (ufs, local, noatime, soft-updates)
/dev/ufs/SCRATCH on /scratch (ufs, local, noatime, gjournal)
tmpfs on /tmp (tmpfs, local)
devfs on /var/named/dev (devfs, local, multilabel)
jh...@ostracod
(23:08:41 ~) 0 $ cat /etc/fstab
/dev/ufs/SSDROOT/   ufs rw,noatime  1   1
/dev/ufs/SSDUSR /usrufs rw,noatime  2   2
/dev/ufs/SSDVAR /varufs rw,noatime  2   2
/dev/label/SWAP noneswapsw  0   0
/dev/ufs/SCRATCH/scratchufs rw,noatime  2   2
tmpfs   /tmptmpfs   rw  0   0

note there I have also used glabel on the swap (command used was glabel
label /dev/ad10p1)
One thing to note with label, if you mount/use the device by is raw
node, the label disapears.
ie:
[r...@ostracod ~]# swapoff -a
swapoff: removing 

Re: I hate to bitch but bitch I must

2009-10-17 Thread Polytropon
On Sat, 17 Oct 2009 17:10:42 -0400, PJ af.gour...@videotron.ca wrote:
 Here are the outputs:
 
 fstab:
 # DeviceMountpointFStypeOptionsDumpPass#
 /dev/ad12s1bnoneswapsw00
 /dev/ad12s1a/ufsrw11
 /dev/ad12s1h/backupsufsrw22
 /dev/ad12s1g/homeufsrw22
 /dev/ad12s1d/tmpufsrw22
 /dev/ad12s1f/usrufsrw22
 /dev/ad12s1e/varufsrw22
 /dev/acd0/cdromcd9660ro,noauto00
 linproc  /usr/compat/linux/proc linprocfs rw 0 0

Let me clean it up to the basics:

/dev/ad12s1a  / ufs   rw  1  1  - rootfs
/dev/ad12s1b  none  swap  sw  0  0
/dev/ad12s1d  /tmp  ufs   rw  2  2  - tmpfs
/dev/ad12s1e  /var  ufs   rw  2  2  - varfs
/dev/ad12s1f  /usr  ufs   rw  2  2  - usrfs
/dev/ad12s1g  /home ufs   rw  2  2  - homefs
/dev/ad12s1h  /backups  ufs   rw  2  2  - backupfs

Alphabetical order is so much nicer to the eyes. :-)

The names after - show arbitrary labels to be given to the
partitions; in fact, you're free to name them Bob, Timmy
or something else fitting your individual naming scheme. It
should be recognizable, so forget about my silly suggestions. :-)



 Now I will try the glabel again...
 # shutdown now
 # glabel label rootfs /dev/ad12s1a
 glabel: Can't store metadata on /dev/ad0s1a

As it has been suggested, try this in SUM which you enter
from system startup, not by partial shutdown. According to
this command, you forgot to unmount disks anyway.



 manual: it is assumed that a single ATA disk is used, which is
 currently recognized by the system as ad0. It is also assumed that the
 standard FreeBSD partition scheme is used, with /, /var, /usr and /tmp
 file systems, as well as a swap partition.
 
 Now, does that mean that glabel does not work if there are several disks
 on the system... it certainly does not say so nor does it adv ertise
 that this would not work if there are several ATA disks present..

I simply cannot imagine this, because you give the device name
as a parametron to the glabel program. Maybe it's just mentioned
because in most settings, ad0 is the boot disk, and FreeBSD is
installed on this disk. The manuals cannot take things like
massive multibooting into mind. Where would this end?! :-)



 Previously I had also tried a reboot press 4 with exactly the same
 results

Really? Now THAT'S strange...



 So, what am I doing wrong... or where is the system screwed up... from
 my point of view, everything seems to work ok including Firefox,
 flashplugin, Openoffice, gimp, netbeans, etc. etc. etc. even conky... :-)

When you've entered SUM by running

boot -s

at the loader prompt - I'm not familiar with the number thingy
boot menu - you could try first running fsck -f on the partition
in question, just to be sure everything is okay, and then run the
glabel command. For this time, don't try to begin with the root
file system; try /tmp, it's uncritical, and it's different from
/ which is mounted (hopefully ro), so all the requirements from
the manual should be met.



 Perhaps this is just a frustrating mental exercise as the system works
 without glabeling partitions... it just would save some work if it could
 be implemented... then, if I were to look at it as a businessman... why
 am I wasting so much time, energy and mental suffering when just
 changing a few files will do the same thing and take less effort...
 oh! what price intellectual curiosity. ;-)

Priceless. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Polytropon
On Sat, 17 Oct 2009 17:55:20 -0400, PJ af.gour...@videotron.ca wrote:
 But can you explain what this means? It just is not clear for me.
 # tu;nefs -L home /dev/da3
 This puts a label on that disk? So now it can be referred to as home?
 da3 = home ?

Yes, exactly that's the purpose. In such a setting, da3 would
refer to a SCSI disk, and home is the label. It can - CAN! -
be mounted on the /home directory.

# mount /dev/label/home /home

But of course, any other mountpoint is fine as well. The setting
in /etc/fstab will do the correct thing - if setup correctly. :-)





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Polytropon
On Sat, 17 Oct 2009 23:17:29 +0100, Vincent Hoffman vi...@unsane.co.uk wrote:
 yes. this makes a ufs label which you can access via /dev/ufs
 for example (my home system)
 jh...@ostracod
 (23:08:34 ~) 0 $ ls /dev/ufs
 SCRATCH SSDROOT SSDUSR  SSDVAR
 [...]
 /dev/ufs/SCRATCH on /scratch (ufs, local, noatime, gjournal)
   ^^^

Wow! Last time I saw this was on EAW's WEGA (a UNIX System III
compatible UNIX developed in the GDR for the P8000 workstation).
There even was /etc/mount and /etc/fsck. :-)


 /dev/ufs/SSDVAR /varufs rw,noatime  2   2
 /dev/label/SWAP noneswapsw  0   0

These two lines illustrate the different use of the results
of glabel label for generic labels and tunefs -L for UFS
labels very well.



 note there I have also used glabel on the swap (command used was glabel
 label /dev/ad10p1)

A really honest question: What does the p in ad10p1
indicate? I always thought swap partitions are something
like ad10b (an own partition right after the root
partition a).



 One thing to note with label, if you mount/use the device by is raw
 node, the label disapears.
 [...]
 This used to confuse me greatly :)

Why make a label available for something to mount that is
already mounted and cannot be accessed through this label
while being mounted? :-)

The kernel messages show such messages about removing labels
as soon as devices are mounted in the traditional way.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Vincent Hoffman
Polytropon wrote:
 On Sat, 17 Oct 2009 23:17:29 +0100, Vincent Hoffman vi...@unsane.co.uk 
 wrote:
   
 yes. this makes a ufs label which you can access via /dev/ufs
 for example (my home system)
 jh...@ostracod
 (23:08:34 ~) 0 $ ls /dev/ufs
 SCRATCH SSDROOT SSDUSR  SSDVAR
 [...]
 /dev/ufs/SCRATCH on /scratch (ufs, local, noatime, gjournal)
 
^^^

 Wow! Last time I saw this was on EAW's WEGA (a UNIX System III
 compatible UNIX developed in the GDR for the P8000 workstation).
 There even was /etc/mount and /etc/fsck. :-)


   
Heh nothing so arcane here, I just use it as a scratch (disposable
content) disk.
 /dev/ufs/SSDVAR /varufs rw,noatime  2   2
 /dev/label/SWAP noneswapsw  0   0
 

 These two lines illustrate the different use of the results
 of glabel label for generic labels and tunefs -L for UFS
 labels very well.



   
 note there I have also used glabel on the swap (command used was glabel
 label /dev/ad10p1)
 

 A really honest question: What does the p in ad10p1
 indicate? I always thought swap partitions are something
 like ad10b (an own partition right after the root
 partition a).


   
I partitioned my disk as GPT using gpart. no real reason, just because i
could ;)
this give partitions (p) instead of slices (s) (I think, not certain
thats what the p and s stand for but it makes sense)
I could also have used the gpt labels instead of generic glabel labels.
[r...@ostracod /scratch]# dd if=/dev/zero of=dsk bs=1m count=10
10+0 records in
10+0 records out
10485760 bytes transferred in 0.055245 secs (189804954 bytes/sec)
[r...@ostracod /scratch]# mdconfig -a -t vnode -f dsk -u 10
[r...@ostracod /scratch]# gpart add -l MDDISK -t freebsd-ufs md10
md10p1 added
[r...@ostracod /scratch]# ls /dev/gpt/
MDDISK

   
 One thing to note with label, if you mount/use the device by is raw
 node, the label disapears.
 [...]
 This used to confuse me greatly :)
 

 Why make a label available for something to mount that is
 already mounted and cannot be accessed through this label
 while being mounted? :-)

 The kernel messages show such messages about removing labels
 as soon as devices are mounted in the traditional way.


   
Indeed, that makes sense.

Vince

   

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread krad
2009/10/17 PJ af.gour...@videotron.ca

 Manolis Kiagias wrote:
  PJ wrote:
 
  Manolis, my state of mind is quite clear... and I'm coping with
  everything quite allright... I'm not about to get mad at anyone or
  anything...
  but tell me, honestly, when you see the stuff I have described above?
  Woldn't that confuse anyone in their right mind?
 
 
 
 
  I am sorry, but there is something here, either some mistake on your
  part or some other weird problem on your system I can not think of.
 
  I don't seem to remember glabel ever failing to store metadata, unless
  1) The device is non-existing 2) The device is mounted.
  As a matter of fact, I did the glabel stuff on a machine a few hours
  ago. This was already fully installed, I rebooted single user and was
  done in less than 2 minutes.
  And yes, if you get a metadata error, it means nothing was done so you
  are *not* to go and change fstab!
 
  Could you  please send us /etc/fstab and the results of ls /dev/ad*
 
 Here are the outputs:

 fstab:
 # DeviceMountpointFStypeOptionsDumpPass#
 /dev/ad12s1bnoneswapsw00
 /dev/ad12s1a/ufsrw11
 /dev/ad12s1h/backupsufsrw22
 /dev/ad12s1g/homeufsrw22
 /dev/ad12s1d/tmpufsrw22
 /dev/ad12s1f/usrufsrw22
 /dev/ad12s1e/varufsrw22
 /dev/acd0/cdromcd9660ro,noauto00
 linproc  /usr/compat/linux/proc linprocfs rw 0 0

 df:
 Filesystem   1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad12s1a   2026030  319112  154483617%/
 devfs1   10   100%/dev
 /dev/ad12s1h  50777034   4 46714868 0%/backups
 /dev/ad12s1g  50777034 6276538 4043833413%/home
 /dev/ad12s1d   4058062  36  3733382 0%/tmp
 /dev/ad12s1f  50777034 5729324 4098554812%/usr
 /dev/ad12s1e   2026030  176070  1687878 9%/var
 linprocfs4   40   100%/usr/compat/linux/proc

 # ls /dev/ad*
 crw-r-  1 root  operator0,  97 Oct 17 16:36 /dev/ad0
 crw-r-  1 root  operator0, 103 Oct 17 16:36 /dev/ad0s1
 crw-r-  1 root  operator0, 101 Oct 17 16:36 /dev/ad10
 crw-r-  1 root  operator0, 106 Oct 17 16:36 /dev/ad10s1
 crw-r-  1 root  operator0, 121 Oct 17 16:36 /dev/ad10s1a
 crw-r-  1 root  operator0, 122 Oct 17 16:36 /dev/ad10s1b
 crw-r-  1 root  operator0, 123 Oct 17 16:36 /dev/ad10s1c
 crw-r-  1 root  operator0, 124 Oct 17 16:36 /dev/ad10s1d
 crw-r-  1 root  operator0, 125 Oct 17 16:36 /dev/ad10s1e
 crw-r-  1 root  operator0, 126 Oct 17 16:36 /dev/ad10s1f
 crw-r-  1 root  operator0, 127 Oct 17 16:36 /dev/ad10s1g
 crw-r-  1 root  operator0, 102 Oct 17 16:36 /dev/ad12
 crw-r-  1 root  operator0, 107 Oct 17 16:36 /dev/ad12s1
 crw-r-  1 root  operator0, 128 Oct 17 16:36 /dev/ad12s1a
 crw-r-  1 root  operator0, 129 Oct 17 16:36 /dev/ad12s1b
 crw-r-  1 root  operator0, 130 Oct 17 16:36 /dev/ad12s1c
 crw-r-  1 root  operator0, 131 Oct 17 16:36 /dev/ad12s1d
 crw-r-  1 root  operator0, 132 Oct 17 16:36 /dev/ad12s1e
 crw-r-  1 root  operator0, 133 Oct 17 16:36 /dev/ad12s1f
 crw-r-  1 root  operator0, 134 Oct 17 16:36 /dev/ad12s1g
 crw-r-  1 root  operator0, 135 Oct 17 16:36 /dev/ad12s1h
 crw-r-  1 root  operator0,  99 Oct 17 16:36 /dev/ad4
 crw-r-  1 root  operator0, 104 Oct 17 16:36 /dev/ad4s1
 crw-r-  1 root  operator0, 108 Oct 17 16:36 /dev/ad4s1a
 crw-r-  1 root  operator0, 109 Oct 17 16:36 /dev/ad4s1b
 crw-r-  1 root  operator0, 110 Oct 17 16:36 /dev/ad4s1c
 crw-r-  1 root  operator0, 111 Oct 17 16:36 /dev/ad4s1d
 crw-r-  1 root  operator0, 112 Oct 17 16:36 /dev/ad4s1e
 crw-r-  1 root  operator0, 113 Oct 17 16:36 /dev/ad4s1f
 crw-r-  1 root  operator0, 114 Oct 17 16:36 /dev/ad4s1g
 crw-r-  1 root  operator0, 100 Oct 17 16:36 /dev/ad6
 crw-r-  1 root  operator0, 105 Oct 17 16:36 /dev/ad6s1
 crw-r-  1 root  operator0, 115 Oct 17 16:36 /dev/ad6s1a
 crw-r-  1 root  operator0, 116 Oct 17 16:36 /dev/ad6s1b
 crw-r-  1 root  operator0, 117 Oct 17 16:36 /dev/ad6s1c
 crw-r-  1 root  operator0, 118 Oct 17 16:36 /dev/ad6s1d
 crw-r-  1 root  operator0, 119 Oct 17 16:36 /dev/ad6s1e
 crw-r-  1 root  operator0, 120 Oct 17 16:36 /dev/ad6s1f

 Sorry, but I don't see what this is going to tell you... ad0 is XP; ad10
 is minimal FreeBSD 7.2; ad12 is 7.2 on 500gb; ad4 is 7.2 on 80gb; and
 ad6 is messed up FBSD I'm cheking  setting up with clone of ad12
 (dump/restore)
 Now I will try the glabel again...
 # shutdown now
 # glabel label rootfs /dev/ad12s1a
 glabel: Can't store metadata on /dev/ad0s1a

 manual: it is 

Re: I hate to bitch but bitch I must

2009-10-17 Thread Warren Block

On Sat, 17 Oct 2009, PJ wrote:

Warren Block wrote:

On Fri, 16 Oct 2009, Bob Hall wrote:

On Fri, Oct 16, 2009 at 07:27:42PM -0400, PJ wrote:

BUGS
This utility should work on active file systems.


I'm a native English speaker, and the manual makes perfect sense to me.
It's very clear to me that since the statement is in the BUGS section,
it means that the utility should, but doesn't. Since it follows a
statement that the utility doesn't, the meaning is unambiguous.


I understand it, but see ambiguity in the word should.  Easy enough
to rewrite:

BUGS
This utility does not work on active file systems.

Now here's my challenge to PJ: use send-pr(1) or the web PR interface
at http://www.freebsd.org/send-pr.html to submit this as a doc bug
report.

That's how FreeBSD gets better, and how you help the next person in
the same situation.


As I mentioned earlier, I do not understand what the author really
intended, so I am out of place making any judgments.


If that long thread didn't convince you, certainly nothing I can add 
will do it.


PR 139705 submitted.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread krad
2009/10/17 PJ af.gour...@videotron.ca

 michael wrote:
  PJ wrote:
  Why is it that the manual pages, as thorough as they may be, are very,
  very confusing.
  Perhaps I am being too wary, but I find that too many
  instructions/examples are stumbling blocks to appreciation of the whole
  system:
  for instance, let's look at the instructions for changing disk labels
  with glabel or is it tunefs ?
  man glabel(8):
 
  for UFS the file system label is set with
  tunefs(8)
  
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE
 .
 
  what happened to glabel?
  man tunefs(8)
  The *tunefs* utility cannot be
  run on an active file system. To change an active file system, it must
  be downgraded to read-only or unmounted.
 
  So, you have to run tunefs from an active file system to modify another
  disk?
  but from man tunefs:
  BUGS
  This utility should work on active file systems.
  What in hades does this mean--just above it says cannot be run on active
  file systems. ???
   To change the root file
  system, the system must be rebooted after the file system is tuned.
 
  You can tune a file system, but you cannot tune a fish.
  How cute... And fish eat bugs.
 
  Seriously, now to the manual:
  To create a permanent label for a UFS2 file system without destroying
  any data, issue the following command:
  # tunefs -L /home/ /dev/da3
 
  Oh? home is what? What does this have to do with the partitions?
  Here's from man glabel(8):
 
  EXAMPLES
  The following example shows how to set up a label for disk ``da2'', cre-
  ate a file system on it, and mount it:
  glabel label -v usr /dev/da2
  newfs /dev/label/usr
  mount /dev/label/usr /usr
  [...]
  umount /usr
  glabel stop usr
  glabel unload
 
  The next example shows how to set up a label for a UFS file system:
  tunefs -L data /dev/da4s1a
  mount /dev/ufs/data /mnt/data
 
  Am I to understand that glabel is only for a new system? What's with the
  newfs... I'm trying to set labels on an system that is already set up.
  And, the glabel examle above is not for UFS file systems? Oh, that's for
  tunefs?
  So why are we even dealing with this glabel?
 
  from manual:
  # tunefs -L /home/ //dev/da3/
  A label should now exist in /dev/ufs which may be added to /etc/fstab:
  /dev/ufs/home /home ufs rw 2 2
 
  Why? Is this necessary? and somewhere I saw tunefs -L volume
  /dev/da0s1a or something like that. Does that mean that each partition
  should be tunefsd? Maybe the guys who programmed this stuff understand;
  I sure don't. I just want to be able to set the labels according to what
  they say can be done... so shy not have a clear and concise explanation?
 
  Do people who write this stuff ever read it? Tell me that its clear and
  simple and to the point... so far, I have been running back and forth
  between half a dozen web pages trying to understand what is going
  on... and doing things through a dense fog does not produce creative
  results!
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 
  ok, in short since i didn't see anyone answer this directly, your
  question of tunefs vs glabel:
 
  tunefs is for UFS: it labels a UFS filesystem, no matter the device,
  ie: ad or da. tunefs is part of the filesystem utilities for UFS.
  good example, can't tunefs -L SWAP /dev/ad0s1b if it is a swap. you
  can glabel it.
 
  glabel is for labeling a device itself. you can glabel an ntfs
  filesystem or ext2, whatever.
 
 
 Thanks for that, Michael.
 But can you explain what this means? It just is not clear for me.
 # tu;nefs -L home /dev/da3
 This puts a label on that disk? So now it can be referred to as home?
 da3 = home ?

 I'll try to delve into the man glabel further... but things still look
 murky.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



he has a raw file system on that device, ie dangerously dedicated, no
partitions etc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Manolis Kiagias
PJ wrote:
 Manolis Kiagias wrote:
   
 PJ wrote:
   
 
 Manolis, my state of mind is quite clear... and I'm coping with
 everything quite allright... I'm not about to get mad at anyone or
 anything...
 but tell me, honestly, when you see the stuff I have described above?
 Woldn't that confuse anyone in their right mind?

   
 
   
 I am sorry, but there is something here, either some mistake on your
 part or some other weird problem on your system I can not think of.

 I don't seem to remember glabel ever failing to store metadata, unless
 1) The device is non-existing 2) The device is mounted.
 As a matter of fact, I did the glabel stuff on a machine a few hours
 ago. This was already fully installed, I rebooted single user and was
 done in less than 2 minutes.
 And yes, if you get a metadata error, it means nothing was done so you
 are *not* to go and change fstab!

 Could you  please send us /etc/fstab and the results of ls /dev/ad*
   
 
 Here are the outputs:

 fstab:
 # DeviceMountpointFStypeOptionsDumpPass#
 /dev/ad12s1bnoneswapsw00
 /dev/ad12s1a/ufsrw11
 /dev/ad12s1h/backupsufsrw22
 /dev/ad12s1g/homeufsrw22
 /dev/ad12s1d/tmpufsrw22
 /dev/ad12s1f/usrufsrw22
 /dev/ad12s1e/varufsrw22
 /dev/acd0/cdromcd9660ro,noauto00
 linproc  /usr/compat/linux/proc linprocfs rw 0 0

 df:
 Filesystem   1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad12s1a   2026030  319112  154483617%/
 devfs1   10   100%/dev
 /dev/ad12s1h  50777034   4 46714868 0%/backups
 /dev/ad12s1g  50777034 6276538 4043833413%/home
 /dev/ad12s1d   4058062  36  3733382 0%/tmp
 /dev/ad12s1f  50777034 5729324 4098554812%/usr
 /dev/ad12s1e   2026030  176070  1687878 9%/var
 linprocfs4   40   100%/usr/compat/linux/proc

 # ls /dev/ad*
 crw-r-  1 root  operator0,  97 Oct 17 16:36 /dev/ad0
 crw-r-  1 root  operator0, 103 Oct 17 16:36 /dev/ad0s1
 crw-r-  1 root  operator0, 101 Oct 17 16:36 /dev/ad10
 crw-r-  1 root  operator0, 106 Oct 17 16:36 /dev/ad10s1
 crw-r-  1 root  operator0, 121 Oct 17 16:36 /dev/ad10s1a
 crw-r-  1 root  operator0, 122 Oct 17 16:36 /dev/ad10s1b
 crw-r-  1 root  operator0, 123 Oct 17 16:36 /dev/ad10s1c
 crw-r-  1 root  operator0, 124 Oct 17 16:36 /dev/ad10s1d
 crw-r-  1 root  operator0, 125 Oct 17 16:36 /dev/ad10s1e
 crw-r-  1 root  operator0, 126 Oct 17 16:36 /dev/ad10s1f
 crw-r-  1 root  operator0, 127 Oct 17 16:36 /dev/ad10s1g
 crw-r-  1 root  operator0, 102 Oct 17 16:36 /dev/ad12
 crw-r-  1 root  operator0, 107 Oct 17 16:36 /dev/ad12s1
 crw-r-  1 root  operator0, 128 Oct 17 16:36 /dev/ad12s1a
 crw-r-  1 root  operator0, 129 Oct 17 16:36 /dev/ad12s1b
 crw-r-  1 root  operator0, 130 Oct 17 16:36 /dev/ad12s1c
 crw-r-  1 root  operator0, 131 Oct 17 16:36 /dev/ad12s1d
 crw-r-  1 root  operator0, 132 Oct 17 16:36 /dev/ad12s1e
 crw-r-  1 root  operator0, 133 Oct 17 16:36 /dev/ad12s1f
 crw-r-  1 root  operator0, 134 Oct 17 16:36 /dev/ad12s1g
 crw-r-  1 root  operator0, 135 Oct 17 16:36 /dev/ad12s1h
 crw-r-  1 root  operator0,  99 Oct 17 16:36 /dev/ad4
 crw-r-  1 root  operator0, 104 Oct 17 16:36 /dev/ad4s1
 crw-r-  1 root  operator0, 108 Oct 17 16:36 /dev/ad4s1a
 crw-r-  1 root  operator0, 109 Oct 17 16:36 /dev/ad4s1b
 crw-r-  1 root  operator0, 110 Oct 17 16:36 /dev/ad4s1c
 crw-r-  1 root  operator0, 111 Oct 17 16:36 /dev/ad4s1d
 crw-r-  1 root  operator0, 112 Oct 17 16:36 /dev/ad4s1e
 crw-r-  1 root  operator0, 113 Oct 17 16:36 /dev/ad4s1f
 crw-r-  1 root  operator0, 114 Oct 17 16:36 /dev/ad4s1g
 crw-r-  1 root  operator0, 100 Oct 17 16:36 /dev/ad6
 crw-r-  1 root  operator0, 105 Oct 17 16:36 /dev/ad6s1
 crw-r-  1 root  operator0, 115 Oct 17 16:36 /dev/ad6s1a
 crw-r-  1 root  operator0, 116 Oct 17 16:36 /dev/ad6s1b
 crw-r-  1 root  operator0, 117 Oct 17 16:36 /dev/ad6s1c
 crw-r-  1 root  operator0, 118 Oct 17 16:36 /dev/ad6s1d
 crw-r-  1 root  operator0, 119 Oct 17 16:36 /dev/ad6s1e
 crw-r-  1 root  operator0, 120 Oct 17 16:36 /dev/ad6s1f

 Sorry, but I don't see what this is going to tell you... ad0 is XP; ad10
 is minimal FreeBSD 7.2; ad12 is 7.2 on 500gb; ad4 is 7.2 on 80gb; and
 ad6 is messed up FBSD I'm cheking  setting up with clone of ad12
 (dump/restore)
 Now I will try the glabel again...
 # shutdown now
 # glabel label rootfs /dev/ad12s1a
 glabel: Can't store metadata on /dev/ad0s1a

   

shutdown now will get you 

Re: I hate to bitch but bitch I must

2009-10-17 Thread krad
2009/10/17 Manolis Kiagias son...@otenet.gr

 PJ wrote:
  Manolis Kiagias wrote:
 
  PJ wrote:
 
 
  Manolis, my state of mind is quite clear... and I'm coping with
  everything quite allright... I'm not about to get mad at anyone or
  anything...
  but tell me, honestly, when you see the stuff I have described above?
  Woldn't that confuse anyone in their right mind?
 
 
 
 
  I am sorry, but there is something here, either some mistake on your
  part or some other weird problem on your system I can not think of.
 
  I don't seem to remember glabel ever failing to store metadata, unless
  1) The device is non-existing 2) The device is mounted.
  As a matter of fact, I did the glabel stuff on a machine a few hours
  ago. This was already fully installed, I rebooted single user and was
  done in less than 2 minutes.
  And yes, if you get a metadata error, it means nothing was done so you
  are *not* to go and change fstab!
 
  Could you  please send us /etc/fstab and the results of ls /dev/ad*
 
 
  Here are the outputs:
 
  fstab:
  # DeviceMountpointFStypeOptionsDumpPass#
  /dev/ad12s1bnoneswapsw00
  /dev/ad12s1a/ufsrw11
  /dev/ad12s1h/backupsufsrw22
  /dev/ad12s1g/homeufsrw22
  /dev/ad12s1d/tmpufsrw22
  /dev/ad12s1f/usrufsrw22
  /dev/ad12s1e/varufsrw22
  /dev/acd0/cdromcd9660ro,noauto00
  linproc  /usr/compat/linux/proc linprocfs rw 0 0
 
  df:
  Filesystem   1K-blocksUsedAvail Capacity  Mounted on
  /dev/ad12s1a   2026030  319112  154483617%/
  devfs1   10   100%/dev
  /dev/ad12s1h  50777034   4 46714868 0%/backups
  /dev/ad12s1g  50777034 6276538 4043833413%/home
  /dev/ad12s1d   4058062  36  3733382 0%/tmp
  /dev/ad12s1f  50777034 5729324 4098554812%/usr
  /dev/ad12s1e   2026030  176070  1687878 9%/var
  linprocfs4   40   100%/usr/compat/linux/proc
 
  # ls /dev/ad*
  crw-r-  1 root  operator0,  97 Oct 17 16:36 /dev/ad0
  crw-r-  1 root  operator0, 103 Oct 17 16:36 /dev/ad0s1
  crw-r-  1 root  operator0, 101 Oct 17 16:36 /dev/ad10
  crw-r-  1 root  operator0, 106 Oct 17 16:36 /dev/ad10s1
  crw-r-  1 root  operator0, 121 Oct 17 16:36 /dev/ad10s1a
  crw-r-  1 root  operator0, 122 Oct 17 16:36 /dev/ad10s1b
  crw-r-  1 root  operator0, 123 Oct 17 16:36 /dev/ad10s1c
  crw-r-  1 root  operator0, 124 Oct 17 16:36 /dev/ad10s1d
  crw-r-  1 root  operator0, 125 Oct 17 16:36 /dev/ad10s1e
  crw-r-  1 root  operator0, 126 Oct 17 16:36 /dev/ad10s1f
  crw-r-  1 root  operator0, 127 Oct 17 16:36 /dev/ad10s1g
  crw-r-  1 root  operator0, 102 Oct 17 16:36 /dev/ad12
  crw-r-  1 root  operator0, 107 Oct 17 16:36 /dev/ad12s1
  crw-r-  1 root  operator0, 128 Oct 17 16:36 /dev/ad12s1a
  crw-r-  1 root  operator0, 129 Oct 17 16:36 /dev/ad12s1b
  crw-r-  1 root  operator0, 130 Oct 17 16:36 /dev/ad12s1c
  crw-r-  1 root  operator0, 131 Oct 17 16:36 /dev/ad12s1d
  crw-r-  1 root  operator0, 132 Oct 17 16:36 /dev/ad12s1e
  crw-r-  1 root  operator0, 133 Oct 17 16:36 /dev/ad12s1f
  crw-r-  1 root  operator0, 134 Oct 17 16:36 /dev/ad12s1g
  crw-r-  1 root  operator0, 135 Oct 17 16:36 /dev/ad12s1h
  crw-r-  1 root  operator0,  99 Oct 17 16:36 /dev/ad4
  crw-r-  1 root  operator0, 104 Oct 17 16:36 /dev/ad4s1
  crw-r-  1 root  operator0, 108 Oct 17 16:36 /dev/ad4s1a
  crw-r-  1 root  operator0, 109 Oct 17 16:36 /dev/ad4s1b
  crw-r-  1 root  operator0, 110 Oct 17 16:36 /dev/ad4s1c
  crw-r-  1 root  operator0, 111 Oct 17 16:36 /dev/ad4s1d
  crw-r-  1 root  operator0, 112 Oct 17 16:36 /dev/ad4s1e
  crw-r-  1 root  operator0, 113 Oct 17 16:36 /dev/ad4s1f
  crw-r-  1 root  operator0, 114 Oct 17 16:36 /dev/ad4s1g
  crw-r-  1 root  operator0, 100 Oct 17 16:36 /dev/ad6
  crw-r-  1 root  operator0, 105 Oct 17 16:36 /dev/ad6s1
  crw-r-  1 root  operator0, 115 Oct 17 16:36 /dev/ad6s1a
  crw-r-  1 root  operator0, 116 Oct 17 16:36 /dev/ad6s1b
  crw-r-  1 root  operator0, 117 Oct 17 16:36 /dev/ad6s1c
  crw-r-  1 root  operator0, 118 Oct 17 16:36 /dev/ad6s1d
  crw-r-  1 root  operator0, 119 Oct 17 16:36 /dev/ad6s1e
  crw-r-  1 root  operator0, 120 Oct 17 16:36 /dev/ad6s1f
 
  Sorry, but I don't see what this is going to tell you... ad0 is XP; ad10
  is minimal FreeBSD 7.2; ad12 is 7.2 on 500gb; ad4 is 7.2 on 80gb; and
  ad6 is messed up FBSD I'm cheking  setting up with clone of ad12
  (dump/restore)
  Now I will try the glabel again...
  # shutdown now
  

Re: I hate to bitch but bitch I must

2009-10-17 Thread michael

PJ wrote:

michael wrote:
  

PJ wrote:


Why is it that the manual pages, as thorough as they may be, are very,
very confusing.
Perhaps I am being too wary, but I find that too many
instructions/examples are stumbling blocks to appreciation of the whole
system:
for instance, let's look at the instructions for changing disk labels
with glabel or is it tunefs ?
man glabel(8):

for UFS the file system label is set with
tunefs(8)
http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.

what happened to glabel?
man tunefs(8)
The *tunefs* utility cannot be
run on an active file system. To change an active file system, it must
be downgraded to read-only or unmounted.

So, you have to run tunefs from an active file system to modify another
disk?
but from man tunefs:
BUGS
This utility should work on active file systems.
What in hades does this mean--just above it says cannot be run on active
file systems. ???
 To change the root file
system, the system must be rebooted after the file system is tuned.

You can tune a file system, but you cannot tune a fish.
How cute... And fish eat bugs.

Seriously, now to the manual:
To create a permanent label for a UFS2 file system without destroying
any data, issue the following command:
# tunefs -L /home/ /dev/da3

Oh? home is what? What does this have to do with the partitions?
Here's from man glabel(8):

EXAMPLES
The following example shows how to set up a label for disk ``da2'', cre-
ate a file system on it, and mount it:
glabel label -v usr /dev/da2
newfs /dev/label/usr
mount /dev/label/usr /usr
[...]
umount /usr
glabel stop usr
glabel unload

The next example shows how to set up a label for a UFS file system:
tunefs -L data /dev/da4s1a
mount /dev/ufs/data /mnt/data

Am I to understand that glabel is only for a new system? What's with the
newfs... I'm trying to set labels on an system that is already set up.
And, the glabel examle above is not for UFS file systems? Oh, that's for
tunefs?
So why are we even dealing with this glabel?

from manual:
# tunefs -L /home/ //dev/da3/
A label should now exist in /dev/ufs which may be added to /etc/fstab:
/dev/ufs/home /home ufs rw 2 2

Why? Is this necessary? and somewhere I saw tunefs -L volume
/dev/da0s1a or something like that. Does that mean that each partition
should be tunefsd? Maybe the guys who programmed this stuff understand;
I sure don't. I just want to be able to set the labels according to what
they say can be done... so shy not have a clear and concise explanation?

Do people who write this stuff ever read it? Tell me that its clear and
simple and to the point... so far, I have been running back and forth
between half a dozen web pages trying to understand what is going
on... and doing things through a dense fog does not produce creative
results!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
  
  

ok, in short since i didn't see anyone answer this directly, your
question of tunefs vs glabel:

tunefs is for UFS: it labels a UFS filesystem, no matter the device,
ie: ad or da. tunefs is part of the filesystem utilities for UFS.
good example, can't tunefs -L SWAP /dev/ad0s1b if it is a swap. you
can glabel it.

glabel is for labeling a device itself. you can glabel an ntfs
filesystem or ext2, whatever.




Thanks for that, Michael.
But can you explain what this means? It just is not clear for me.
# tu;nefs -L home /dev/da3
This puts a label on that disk? So now it can be referred to as home?
da3 = home ?

I'll try to delve into the man glabel further... but things still look
murky.

  
tunefs -L HOME /dev/da3 will put the label /dev/ufs/HOME pointing to 
/dev/da3 . da3=home. exactly correct.
the main idea behind that is that you can move the device around, etc. 
since fstab is looking in /dev/ufs/NAMES_OF_DISKS/PARTITIONS instead of 
/dev/da[0-9] type setup. you can move it to any controller and still 
boot(if you have the driver for the controller).


the glabel command can label ANY disk/slice/partition. its great when 
you get away form the old mbr setup and switch to gpt. gpt lets you have 
an arbitrary number of partitions. and when you think about it, names 
are so much better than numbers anyway, its why we use DNS on networks. 
imagine having to remember every ip you have to use.


peace
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Manolis Kiagias
PJ wrote:

 manual: it is assumed that a single ATA disk is used, which is
 currently recognized by the system as ad0. It is also assumed that the
 standard FreeBSD partition scheme is used, with /, /var, /usr and /tmp
 file systems, as well as a swap partition.

 Now, does that mean that glabel does not work if there are several disks
 on the system... it certainly does not say so nor does it adv ertise
 that this would not work if there are several ATA disks present..
 Previously I had also tried a reboot press 4 with exactly the same
 results

   

It does say Example on top.
And then again:

For this *example* it is assumed that a single ATA disk is used,...

It doesn't say what will not work with it. It simply assumes some
defaults to give a reasonable example.
Now, don't tell me this is ambiguous too...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Polytropon
On Sat, 17 Oct 2009 23:47:56 +0100, krad kra...@googlemail.com wrote:
 he has a raw file system on that device, ie dangerously dedicated, no
 partitions etc

That's the standard mode for data disks that are not intended
to be booted from. It's usable for USB sticks as well. There's
no need for a slice.

The comment no partitions is partially incorrect, because 
there is kind of a partition on the device. Note that this
partition spans the whole device, which is indicated by the
letter c. In this case, /dev/da0 is /dev/da0c. I think it
was in FreeBSD 5 when the c for the whole disk / partition
has been removed (well, it's still there, it's the reason
that you usually can't create da0s1a, da0s1b AND da0s1c,
because da0s1c is da0s1), from the disk devices as well as
from the acd devices (acd0c is acd0 today).

At least, it's correct to say that there's one file system
on the disk. Tools like fdisk and bsdlabel haven't been
involved in creating it, just

# newfs /dev/da0

was the tool of choice.

I'd like to add that I've used this method on PDs (phase
change discs) as well; they were introduced as da0 to the
device directory. No need for slices because the whole disc
should be used as one volume.

A final note: You can, however, create multiple partitions
on a device with no underlying slice, such as da0a, da0b,
da0d, da0e etc. And FreeBSD can boot from it without problems.
It's always the MICROS~1 stuff that has problems with it. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Giorgos Keramidas
On Sat, 17 Oct 2009 16:07:25 -0400, PJ af.gour...@videotron.ca wrote:
 Just a note: I find it strange that nobody looked into the problem of
 the confusion... I thought I had pointed out where the co;nfusion
 arises... and no one seems to have either understood the
 inconsistencies or bothere to read the explanation... oh well... let's
 keep on blundering away... ;-)

I haven't been watching this thread closely, but I vaguely recall your
confusion was caused by a manpage.  If you can point me at the manpage
text and tell me what seemed confusing or, at least, not clear enough,
we can always try to fix the manpage.

BTW, if you happen to find more manpage text that needs clarification,
it's always a good idea to post your comments to the freebsd-doc list.
This way someone from the Documentation Team may see them and do
something about the confusing manpage text.



pgpJFy8JKIEja.pgp
Description: PGP signature


Re: I hate to bitch but bitch I must

2009-10-17 Thread Polytropon
On Sat, 17 Oct 2009 23:50:51 +0100, krad kra...@googlemail.com wrote:
 easiest way is to boot in on a live cd/usb label it all up with tunefs and
 edit the fstabs then reboot off disks

Yes, that's the most comfortable way. FreeBSD's live disc should
be completely fine. There's no problem with should work on /
even if / is mounted ro. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Matthew Seaman

Manolis Kiagias wrote:

PJ wrote:



Now, does that mean that glabel does not work if there are several disks
on the system... it certainly does not say so nor does it adv ertise
that this would not work if there are several ATA disks present..
Previously I had also tried a reboot press 4 with exactly the same
results



Aha, as I said above then.
If you've done this and you are still getting the can't store metadata
message,
I am really out of ideas.


Just a WAG, but

sysctl kern.geom.debugflags=16

possibly?

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: I hate to bitch but bitch I must

2009-10-17 Thread Matthew Seaman

Polytropon wrote:


note there I have also used glabel on the swap (command used was glabel
label /dev/ad10p1)


A really honest question: What does the p in ad10p1
indicate? I always thought swap partitions are something
like ad10b (an own partition right after the root
partition a).


ad10s1b is a traditional bsdlabel(8) generated partition. (ie. it's
partition b on slice 1 of disk ad10)

ad10p1 indicates use of gpt(8) partitioning. (ie. partition 1 on disk
ad10)

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: I hate to bitch but bitch I must

2009-10-17 Thread Jerry McAllister
On Fri, Oct 16, 2009 at 05:54:23PM -0400, PJ wrote:

 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 Perhaps I am being too wary, but I find that too many 
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):
 
 for UFS the file system label is set with
 tunefs(8)
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.
 what happened to glabel?
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.
 
 So, you have to run tunefs from an active file system to modify another
 disk?

No, it clearly says tunefs CANNOT be run on an active filesystem.

Then it says, in order to change an active file system you have to first
make it a NOT active filesystem - eg make it read-only or just unmount it.  

 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???

That means it is a BUG that it won't work on an active files system - eg 
that someone should fix this defficiency and make it so it will work
on an active filesystem.  The man writer thinks it 'should' be able to
work that way.

jerry  
   
  To change the root file
 system, the system must be rebooted after the file system is tuned.
 
 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Manolis Kiagias
Matthew Seaman wrote:
 Manolis Kiagias wrote:
 PJ wrote:

 Now, does that mean that glabel does not work if there are several
 disks
 on the system... it certainly does not say so nor does it adv ertise
 that this would not work if there are several ATA disks present..
 Previously I had also tried a reboot press 4 with exactly the same
 results

 Aha, as I said above then.
 If you've done this and you are still getting the can't store metadata
 message,
 I am really out of ideas.

 Just a WAG, but

 sysctl kern.geom.debugflags=16

 possibly?

 Cheers,

 Matthew


Ha, yes, the shoot in the foot sysctl :)
Shouldn't be needed though - I was labelling a boot disk about half an
hour ago and nothing else than pure 'glabel label' was required.
There must be something else that stops it.

Maybe running glabel with -v will help the OP (hopefully with a more
detailed error message)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread Michael Powell
PJ wrote:
[snip]

   
 I think you're trying to take the meaning of should a little too
 far... to keep it simple, and without trying to intellectualize it, it
 simply means (and this can change within certain contexts) normally, it
 should work (in our context, here) but there is no implication of any
 warnings or dangers ... the normally is implied, the rest you can do
 with it as you wish, obviously at your rist... but even then the
 interpretation goes too far. As I suggested to Polytropon, in this
 particular case the instructions for the implementation of the procedure
 are very clear: use on an inactive system or SUM... so where's the
 bug... to suggest that it should work on an active system is confusing
 - if the author thought it important that it wouldl not work on an
 active system, perhaps he should have merely said do not use on an
 active system... that would be consistent and very clear. ;-)

Sorry, I'm not totally clear on everything either, but it is clearly 
contained within a section called 'BUGS'. This should set the context and 
will affect how the comment should be construed. If it were located anywhere 
else in the man page the context would be different, this altering the 
intended meaning or purpose.

Content within any 'BUGS' section should not be considered for normal usage 
of a command, unless it is something you think you can/should try and it is 
warning you not to do so. It is more of a disclosure of 'gotcha' potential, 
aka 'here be dragons' or other potential method by which an admin may shoot 
him/herself in the foot.

Just my meager $.02, fwiw 

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread James Phillips



 
 Message: 9
 Date: Sat, 17 Oct 2009 16:07:25 -0400
 From: PJ af.gour...@videotron.ca
 Subject: Re: I hate to bitch but bitch I must
 To: Polytropon free...@edvax.de
 Cc: Steve Bertrand st...@ibctech.ca,   
 freebsd-questions@freebsd.org
     freebsd-questions@freebsd.org
 Message-ID: 4ada23fd.8020...@videotron.ca
 Content-Type: text/plain; charset=UTF-8
 
 Polytropon wrote:
  On Fri, 16 Oct 2009 21:29:04 -0400, PJ af.gour...@videotron.ca
 wrote:
    
  It is simple to understand Emglish but not so
 simple what was meant by
  whoever wrote it...I cannot correct something that
 I do not uderstand...
  come on, man, that should be easy to understand.
      
 
  As English is not my native language, I *now*
 understand the
  meaning of it should; in this case, it seems to mean
 something
  like basically, it is supposed to, but in this case,
 it does
  not, regarding the desired action.
    

 To be as precise as possible, it means normally it should
 work so go
 ahead; then the question is - what do you mean by
 normally.

You made the blunder of using the word should in your definition of should 
:)

 In our case above, the instructions were to do the
 operation with the
 disk not in use and the os in SUM. That's very clear. Now,
 I f they
 wanted to point out a bug, the bug means that there is an
 anomaly under
 certain circumstances - and in this case there really is no
 bug as it is
 very clear as to how the instructions should be used. If
 they consider
 the operation under a live files system a bug, then they
 should just
 make a warning and say something along the lines of do not
 use on live
 system as that may destroy data or something to that
 effect.

As others have mentioned, context is important. Somebody even suggested a 
re-wording dropping the word should.

If there was a risk of data-loss, (somebody noted the program refuses to touch 
a live filesystem,) the bugs section would have read something more like:
(Program) SHOULD NOT try writing to a live file-system.

That is to say, the word should in a Bugs section implies a wish-list item. 
Meaning: it is technically possible, but the maintainers have not done the 
necessary (possibly tedious) work yet.


Regards,

James Phillips


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread RW
On Fri, 16 Oct 2009 23:49:52 -0400
Bob Hall rjh...@gmail.com wrote:

 On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote:
  Actually, this has got very little to do with being a native English
  speaker or not. It's ere a matter of intonation (which, in writing,
  can only be conveyed to a certain degree, of course). 'Should' can
  certainly mean Don't try that. As in:
  
  Will the ice hold me?
  Well, technically it should.
  
  (Meaning: it probably will, but I'm not overly confident.)
 
 Actually, what's happening here is dropping part of a sentence. It's
 common in English to shorten
   Yea, it should work, but it doesn't.

Not really, but the only sensible meaning is that it should, in an
ideal world, work.

It seems that people are grasping for ambiguity here. If a phrase has
one sensible meaning and other absurd meanings then there really is
no ambiguity all unless one is trying to be deliberately obtuse.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-17 Thread michael

RW wrote:

On Fri, 16 Oct 2009 23:49:52 -0400
Bob Hall rjh...@gmail.com wrote:

  

On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote:


Actually, this has got very little to do with being a native English
speaker or not. It's ere a matter of intonation (which, in writing,
can only be conveyed to a certain degree, of course). 'Should' can
certainly mean Don't try that. As in:

Will the ice hold me?
Well, technically it should.

(Meaning: it probably will, but I'm not overly confident.)
  

Actually, what's happening here is dropping part of a sentence. It's
common in English to shorten
Yea, it should work, but it doesn't.



Not really, but the only sensible meaning is that it should, in an
ideal world, work.

It seems that people are grasping for ambiguity here. If a phrase has
one sensible meaning and other absurd meanings then there really is
no ambiguity all unless one is trying to be deliberately obtuse.


  
i could have sworn this thread was about glabel and tunefs, whats with 
the grammar and linguistics?

*note* not directed at RW


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Manolis Kiagias
PJ wrote:
 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 Perhaps I am being too wary, but I find that too many 
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):

 for UFS the file system label is set with
 tunefs(8)
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.
 what happened to glabel?
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.

 So, you have to run tunefs from an active file system to modify another
 disk?
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
  To change the root file
 system, the system must be rebooted after the file system is tuned.

 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.

 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3

 Oh? home is what? What does this have to do with the partitions?
 Here's from man glabel(8):

 EXAMPLES
 The following example shows how to set up a label for disk ``da2'', cre-
 ate a file system on it, and mount it:
 glabel label -v usr /dev/da2
 newfs /dev/label/usr
 mount /dev/label/usr /usr
 [...]
 umount /usr
 glabel stop usr
 glabel unload

 The next example shows how to set up a label for a UFS file system:
 tunefs -L data /dev/da4s1a
 mount /dev/ufs/data /mnt/data

 Am I to understand that glabel is only for a new system? What's with the
 newfs... I'm trying to set labels on an system that is already set up.
 And, the glabel examle above is not for UFS file systems? Oh, that's for
 tunefs?
 So why are we even dealing with this glabel?

 from manual:
 # tunefs -L /home/ //dev/da3/
 A label should now exist in /dev/ufs which may be added to /etc/fstab:
 /dev/ufs/home /home ufs rw 2 2

 Why? Is this necessary? and somewhere I saw tunefs -L volume
 /dev/da0s1a or something like that. Does that mean that each partition
 should be tunefsd? Maybe the guys who programmed this stuff understand;
 I sure don't. I just want to be able to set the labels according to what
 they say can be done... so shy not have a clear and concise explanation?

   

Relax. You are having a bad day, and you are topping it by trying to
perform some stuff while you are not in the right state of mind.

If you do insist on continuing with this, do the following:
Make a list of your partitions - I'll assume a device name of /dev/ad1
for the disk. You should have:

ad1s1a for root = Label this as rootfs
ad1s1b for swap = Label this as swap
ad1s1e for tmp = Label this as tmpfs
ad1s1d for var = Label this as varfs
ad1s1f for usr = Label this as usrfs

If you are unsure of the device names, try ls /dev/ad* (or ls /dev/da*
if you are using SCSI disks, which I think you are not)

Now, reboot:
shutdown -r now
Press 4 and enter single user mode in the loader.
In the single user mode prompt type:

glabel label rootfs /dev/ad1s1a
glabel label swap /dev/ad1s1b
glabel label tmpfs /dev/ad1s1e
glabel label varfs /dev/ad1s1d
glabel label usrfs /dev/ad1s1f

You should get no error messages from these.
Type exit and continue to multiuser boot.

Change /etc/fstab:

change

 /dev/ad1s1a to /dev/label/rootfs
 /dev/ad1s1b to /dev/label/swap

and so on.

Reboot once again. Everything should work.

 Do people who write this stuff ever read it? Tell me t

Yes, we do. All the time actually.

 hat its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going on... 
 and doing things through a dense fog does not produce creative results!___

   
You will have best results when trying with a clear mind.
Also having a test system (or a VMware / Virtualbox machine) will help
you learn and practice unknown procedures without the anxiety of
breaking something on your production system.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread krad
2009/10/16 PJ af.gour...@videotron.ca

 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 Perhaps I am being too wary, but I find that too many
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):

 for UFS the file system label is set with
 tunefs(8)
 
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE
 .
 what happened to glabel?
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.

 So, you have to run tunefs from an active file system to modify another
 disk?
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
  To change the root file
 system, the system must be rebooted after the file system is tuned.

 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.

 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3

 Oh? home is what? What does this have to do with the partitions?
 Here's from man glabel(8):

 EXAMPLES
 The following example shows how to set up a label for disk ``da2'', cre-
 ate a file system on it, and mount it:
 glabel label -v usr /dev/da2
 newfs /dev/label/usr
 mount /dev/label/usr /usr
 [...]
 umount /usr
 glabel stop usr
 glabel unload

 The next example shows how to set up a label for a UFS file system:
 tunefs -L data /dev/da4s1a
 mount /dev/ufs/data /mnt/data

 Am I to understand that glabel is only for a new system? What's with the
 newfs... I'm trying to set labels on an system that is already set up.
 And, the glabel examle above is not for UFS file systems? Oh, that's for
 tunefs?
 So why are we even dealing with this glabel?

 from manual:
 # tunefs -L /home/ //dev/da3/
 A label should now exist in /dev/ufs which may be added to /etc/fstab:
 /dev/ufs/home /home ufs rw 2 2

 Why? Is this necessary? and somewhere I saw tunefs -L volume
 /dev/da0s1a or something like that. Does that mean that each partition
 should be tunefsd? Maybe the guys who programmed this stuff understand;
 I sure don't. I just want to be able to set the labels according to what
 they say can be done... so shy not have a clear and concise explanation?

 Do people who write this stuff ever read it? Tell me that its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going on...
 and doing things through a dense fog does not produce creative results!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


I think your in that zone before the penny drops. It happens to us all 8)

Its quite simple if you are dealing with a new install add the label when
you format the fs eg

new -L somelabel somedev

if the fs already exists unmount it (anoying I know) and then tunefs it eg

tunefs -L somelabel somedev

then in both cases mount it via the appropriate glabel dev

in this case its ufs so the dev is

/dev/ufs/somelabel

I generally dont bother labeling devices like ads1 da0 etc as thete isnt
much point I just stick the to the file systems. The exception is the swap
partition


eg

glabel label -v swap /dev/da2p2

i then swapon the  device

/dev/label/swap

note as there is not file system on this dev it takes the label subdir

other fs like ntfs vfat take different subdirs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Polytropon
On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.

A common misunderstanding about manpages can be that they
are often (wishfully?) seen as a tutorial or a howto. In
fact, they are references.



 Perhaps I am being too wary, but I find that too many 
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):
 
 for UFS the file system label is set with
 tunefs(8)
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.
 what happened to glabel?

That's confusing...



 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.
 
 So, you have to run tunefs from an active file system to modify another
 disk?

No. Active file system refers to a file system that is mounted
rw - the common method of using a file system. But in order to run
a program from a file system, the file system can as well be mounted
ro. This still allows running programs.

A setting you'll often find is maintenance done in single user
mode; here, / is mounted ro to give access to the basic programs
in /bin and /sbin. All other partitions, including /usr, are not
mounted. They don't need to be for having a fully functional
system in maintenance mode.



 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???

It should. This means: Don't try that. :-)

My printer isn't printing!
But it should.
No, it is not printing!
Yes, but it should.
:-)



  To change the root file
 system, the system must be rebooted after the file system is tuned.
 
 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.

Nice you found this. :-)



 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3
 
 Oh? home is what? What does this have to do with the partitions?

The volume name, according to the manual, is /home/ now,
isn't it?



 from manual:
 # tunefs -L /home/ //dev/da3/

I cannot find this in the tunefs manual in group 8... It
seems that there are too many /s in it...



 Do people who write this stuff ever read it? Tell me that its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going on... 
 and doing things through a dense fog does not produce creative results!

Wow... I'm having problems now, too. Maybe I should re-read
the manpages a few times...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread PJ
Manolis Kiagias wrote:
 PJ wrote:
 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 Perhaps I am being too wary, but I find that too many
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):

 for UFS the file system label is set with
 tunefs(8)
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.
 what happened to glabel?
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.

 So, you have to run tunefs from an active file system to modify another
 disk?
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
 To change the root file
 system, the system must be rebooted after the file system is tuned.

 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.

 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3

 Oh? home is what? What does this have to do with the partitions?
 Here's from man glabel(8):

 EXAMPLES
 The following example shows how to set up a label for disk ``da2'', cre-
 ate a file system on it, and mount it:
 glabel label -v usr /dev/da2
 newfs /dev/label/usr
 mount /dev/label/usr /usr
 [...]
 umount /usr
 glabel stop usr
 glabel unload

 The next example shows how to set up a label for a UFS file system:
 tunefs -L data /dev/da4s1a
 mount /dev/ufs/data /mnt/data

 Am I to understand that glabel is only for a new system? What's with the
 newfs... I'm trying to set labels on an system that is already set up.
 And, the glabel examle above is not for UFS file systems? Oh, that's for
 tunefs?
 So why are we even dealing with this glabel?

 from manual:
 # tunefs -L /home/ //dev/da3/
 A label should now exist in /dev/ufs which may be added to /etc/fstab:
 /dev/ufs/home /home ufs rw 2 2

 Why? Is this necessary? and somewhere I saw tunefs -L volume
 /dev/da0s1a or something like that. Does that mean that each partition
 should be tunefsd? Maybe the guys who programmed this stuff understand;
 I sure don't. I just want to be able to set the labels according to what
 they say can be done... so shy not have a clear and concise explanation?



 Relax. You are having a bad day, and you are topping it by trying to
 perform some stuff while you are not in the right state of mind.

 If you do insist on continuing with this, do the following:
 Make a list of your partitions - I'll assume a device name of /dev/ad1
 for the disk. You should have:

 ad1s1a for root = Label this as rootfs
 ad1s1b for swap = Label this as swap
 ad1s1e for tmp = Label this as tmpfs
 ad1s1d for var = Label this as varfs
 ad1s1f for usr = Label this as usrfs

 If you are unsure of the device names, try ls /dev/ad* (or ls /dev/da*
 if you are using SCSI disks, which I think you are not)

 Now, reboot:
 shutdown -r now
 Press 4 and enter single user mode in the loader.
 In the single user mode prompt type:

 glabel label rootfs /dev/ad1s1a
 glabel label swap /dev/ad1s1b
 glabel label tmpfs /dev/ad1s1e
 glabel label varfs /dev/ad1s1d
 glabel label usrfs /dev/ad1s1f

 You should get no error messages from these.
 Type exit and continue to multiuser boot.
Ok, but that is exactly what I did.  Exactly that and that is what is in
the manual. And I can read and I did check and recheck my input for
typos. But, I did get error messages!
# glabel label rootfs/dev/ad12s1a
glabel: Can't store metadata on /dev/ad12s1a: Operation not permitted
and the message was the same for all partitions!
 So, you must wonder as I did why was I getting error messages. I looked
on the web and there was nothing directly related to the errors.So what
is going on?
Since the web gurus were saying that the error messages were not
important and to ignore them, I tried that and continued through with
the boot and changed the fstab entries and rebooted and the boot failed.
So I had to fix the fstab and fortunately I was able to boot ok...
Something is warped here... and I hope it isn't my little brain. :-(

 Change /etc/fstab:

 change

 /dev/ad1s1a to /dev/label/rootfs
 /dev/ad1s1b to /dev/label/swap

 and so on.

 Reboot once again. Everything should work.

 Do people who write this stuff ever read it? Tell me t

 Yes, we do. All the time actually.

 hat its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going on...
 and doing things through a dense fog does not produce creative
 results!___


 You will have best results when trying with a clear mind.
 Also having a test system 

Re: I hate to bitch but bitch I must

2009-10-16 Thread Chris
On Fri, 16 Oct 2009 19:10:58 -0400
PJ af.gour...@videotron.ca wrote:

*** Snip***

  You will have best results when trying with a clear mind.
  Also having a test system (or a VMware / Virtualbox machine) will
  help you learn and practice unknown procedures without the anxiety
  of breaking something on your production system.
 Manolis, my state of mind is quite clear... and I'm coping with
 everything quite allright... I'm not about to get mad at anyone or
 anything...
 but tell me, honestly, when you see the stuff I have described above?
 Woldn't that confuse anyone in their right mind?

... try your left mind or even, wrong mind?!


-- 
Best regards,

Chris

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

There's no place like 127.0.0.1

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Polytropon
On Fri, 16 Oct 2009 19:10:58 -0400, PJ af.gour...@videotron.ca wrote:
 Ok, but that is exactly what I did.  Exactly that and that is what is in
 the manual. And I can read and I did check and recheck my input for
 typos. But, I did get error messages!
 # glabel label rootfs/dev/ad12s1a

Exactly? I think a whitespace (after rootfs) is missing.



 glabel: Can't store metadata on /dev/ad12s1a: Operation not permitted
 and the message was the same for all partitions!

And you ran this command in single user mode with no partitions
mounted, except / in ro mode? (You can use mount -v to check.)



 Since the web gurus were saying that the error messages were not
 important and to ignore them, [...]

I cannot imagine this. It looks like an error message. Such as
if Cannto save file wouldn't suggest you that the file has
been successfully save, woult it?



 [...] I tried that and continued through with
 the boot and changed the fstab entries and rebooted and the boot failed.

Of course. Obviously, the label has NOT being written, so the
reference in /etc/fstab leads to failure.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Manolis Kiagias
PJ wrote:

 Manolis, my state of mind is quite clear... and I'm coping with
 everything quite allright... I'm not about to get mad at anyone or
 anything...
 but tell me, honestly, when you see the stuff I have described above?
 Woldn't that confuse anyone in their right mind?

   

I am sorry, but there is something here, either some mistake on your
part or some other weird problem on your system I can not think of.

I don't seem to remember glabel ever failing to store metadata, unless
1) The device is non-existing 2) The device is mounted.
As a matter of fact, I did the glabel stuff on a machine a few hours
ago. This was already fully installed, I rebooted single user and was
done in less than 2 minutes.
And yes, if you get a metadata error, it means nothing was done so you
are *not* to go and change fstab!

Could you  please send us /etc/fstab and the results of ls /dev/ad*


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread PJ
Polytropon wrote:
 On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
   
 Why is it that the manual pages, as thorough as they may be, are very,
 very confusing.
 

 A common misunderstanding about manpages can be that they
 are often (wishfully?) seen as a tutorial or a howto. In
 fact, they are references.



   
 Perhaps I am being too wary, but I find that too many 
 instructions/examples are stumbling blocks to appreciation of the whole
 system:
 for instance, let's look at the instructions for changing disk labels
 with glabel or is it tunefs ?
 man glabel(8):

 for UFS the file system label is set with
 tunefs(8)
 http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.
 what happened to glabel?
 

 That's confusing...



   
 man tunefs(8)
 The *tunefs* utility cannot be
 run on an active file system. To change an active file system, it must
 be downgraded to read-only or unmounted.

 So, you have to run tunefs from an active file system to modify another
 disk?
 

 No. Active file system refers to a file system that is mounted
 rw - the common method of using a file system. But in order to run
 a program from a file system, the file system can as well be mounted
 ro. This still allows running programs.

 A setting you'll often find is maintenance done in single user
 mode; here, / is mounted ro to give access to the basic programs
 in /bin and /sbin. All other partitions, including /usr, are not
 mounted. They don't need to be for having a fully functional
 system in maintenance mode.



   
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
 

 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)

   
Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
a subtle difference and is indicative that whoever wrote it is not a
native english user... the meaning is clearly should be executed, done,
carried out, performed - should work means it  can be carried out  - I
think the author meant to say should not be done

   
  To change the root file
 system, the system must be rebooted after the file system is tuned.

 You can tune a file system, but you cannot tune a fish.
 How cute... And fish eat bugs.
 

 Nice you found this. :-)



   
 Seriously, now to the manual:
 To create a permanent label for a UFS2 file system without destroying
 any data, issue the following command:
 # tunefs -L /home/ /dev/da3

 Oh? home is what? What does this have to do with the partitions?
 

 The volume name, according to the manual, is /home/ now,
 isn't it?



   
 from manual:
 # tunefs -L /home/ //dev/da3/
 

 I cannot find this in the tunefs manual in group 8... It
 seems that there are too many /s in it...

   
typo, sorry

   
 Do people who write this stuff ever read it? Tell me that its clear and
 simple and to the point... so far, I have been running back and forth
 between half a dozen web pages trying to understand what is going on... 
 and doing things through a dense fog does not produce creative results!
 

 Wow... I'm having problems now, too. Maybe I should re-read
 the manpages a few times...
   
I agree that the manual is not intended as a tutorial... but then what
is a manual but a source for a tutorial... ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread PJ
Manolis Kiagias wrote:
 PJ wrote:
   
 Manolis, my state of mind is quite clear... and I'm coping with
 everything quite allright... I'm not about to get mad at anyone or
 anything...
 but tell me, honestly, when you see the stuff I have described above?
 Woldn't that confuse anyone in their right mind?

   
 

 I am sorry, but there is something here, either some mistake on your
 part or some other weird problem on your system I can not think of.

 I don't seem to remember glabel ever failing to store metadata, unless
 1) The device is non-existing 2) The device is mounted.
 As a matter of fact, I did the glabel stuff on a machine a few hours
 ago. This was already fully installed, I rebooted single user and was
 done in less than 2 minutes.
 And yes, if you get a metadata error, it means nothing was done so you
 are *not* to go and change fstab!

 Could you  please send us /etc/fstab and the results of ls /dev/ad*
   
Shortly... have to reconfigure GAG.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Steve Bertrand
PJ wrote:
 Polytropon wrote:
 On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:

 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
 
 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)

   
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done

If you feel that you've found a 'bug' within the manual/documentation of
a piece of software or function, I highly recommend that you pass it by
other users/developers ( as you've kind-of done here ), and then contact
the person who is normally listed in the AUTHOR section of the man page
after you get a consensus on whether the manual, the code or you have
the bug :)

If you believe the problem is an engish-linguistic one (and the man page
is written in english), let the author know this. Provide the correct
verbiage, and an explanation of what your words mean compared to theirs
(remember, english may not be their first language).

Also, take a look at RFC 2119 for the keyword 'SHOULD' and 'SHOULD NOT'.
RFC 2119 is highly regarded as the authority for many keywords, and a
quick reference of it may help when trying to explain to an author where
you feel their documentation is incorrect (or lacking).

Cheers,

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Bob Hall
On Fri, Oct 16, 2009 at 07:27:42PM -0400, PJ wrote:
 Polytropon wrote:
  On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
  but from man tunefs:
  BUGS
  This utility should work on active file systems.
  What in hades does this mean--just above it says cannot be run on active
  file systems. ???
  
 
  It should. This means: Don't try that. :-)
 
  My printer isn't printing!
  But it should.
  No, it is not printing!
  Yes, but it should.
  :-)
 

 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done

I'm a native English speaker, and the manual makes perfect sense to me.
It's very clear to me that since the statement is in the BUGS section,
it means that the utility should, but doesn't. Since it follows a
statement that the utility doesn't, the meaning is unambiguous.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Steve Bertrand
Bob Hall wrote:
 On Fri, Oct 16, 2009 at 07:27:42PM -0400, PJ wrote:
 Polytropon wrote:
 On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
 
 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)

   
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done
 
 I'm a native English speaker, and the manual makes perfect sense to me.
 It's very clear to me that since the statement is in the BUGS section,
 it means that the utility should, but doesn't. Since it follows a
 statement that the utility doesn't, the meaning is unambiguous.

fwiw, upon first reading, I got the exact same impression about the
writing under its context as Bob did.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread PJ
Manolis Kiagias wrote:
 PJ wrote:
   
 Manolis, my state of mind is quite clear... and I'm coping with
 everything quite allright... I'm not about to get mad at anyone or
 anything...
 but tell me, honestly, when you see the stuff I have described above?
 Woldn't that confuse anyone in their right mind?

   
 

 I am sorry, but there is something here, either some mistake on your
 part or some other weird problem on your system I can not think of.

 I don't seem to remember glabel ever failing to store metadata, unless
 1) The device is non-existing 2) The device is mounted.
 As a matter of fact, I did the glabel stuff on a machine a few hours
 ago. This was already fully installed, I rebooted single user and was
 done in less than 2 minutes.
 And yes, if you get a metadata error, it means nothing was done so you
 are *not* to go and change fstab!

 Could you  please send us /etc/fstab and the results of ls /dev/ad*


 it'll have to be later - tomorrow or monday...
   
I'm fighting with a stubborn disk from a broken raid0 array that
prevents the system from booting another load or horsemanure!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread PJ
Steve Bertrand wrote:
 PJ wrote:
   
 Polytropon wrote:
 
 On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
   

   
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
 
 
 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)

   
   
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done
 

 If you feel that you've found a 'bug' within the manual/documentation of
 a piece of software or function, I highly recommend that you pass it by
 other users/developers ( as you've kind-of done here ), and then contact
 the person who is normally listed in the AUTHOR section of the man page
 after you get a consensus on whether the manual, the code or you have
 the bug :)

 If you believe the problem is an engish-linguistic one (and the man page
 is written in english), let the author know this. Provide the correct
 verbiage, and an explanation of what your words mean compared to theirs
 (remember, english may not be their first language).

 Also, take a look at RFC 2119 for the keyword 'SHOULD' and 'SHOULD NOT'.
 RFC 2119 is highly regarded as the authority for many keywords, and a
 quick reference of it may help when trying to explain to an author where
 you feel their documentation is incorrect (or lacking).

 Cheers,

 Steve

   
It is simple to understand Emglish but not so simple what was meant by
whoever wrote it...I cannot correct something that I do not uderstand...
come on, man, that should be easy to understand.
I am afraid that with all the globalization people still do not
understand that translations should be left to experts... an by that I
mean the final version should always, and I mean always, be by a native
speaking person.
I speak english, french, italian, some spanish and german as well as
latvian... but I would never attempt to translate into any language
other than English... and then not without the help of the original
language's originator. ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Neal Hogan
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done

 I'm a native English speaker, and the manual makes perfect sense to me.
 It's very clear to me that since the statement is in the BUGS section,
 it means that the utility should, but doesn't. Since it follows a
 statement that the utility doesn't, the meaning is unambiguous.

 fwiw, upon first reading, I got the exact same impression about the
 writing under its context as Bob did.


Am I the only one annoyed by the monthly PJ soap-operas. It seems that
we get a ridiculous installment from this guy who bites off more than
he can chew and then complains that it's too big every full (or is it
fool) moon (28 day cycle . . . sorry obvious,stupid joke).

The patience he gets from folks on this list should be commended, but
questioned. In what sense is the community benefited from the dramatic
life-story of an ungrateful novice? This guy puts forth his
problem(s) only to update the list at every small/backward step and
then ultimately offer something offensive such that the devs can't
speak English.

He needs to work things out before blogging on
freebsd-questi...@.

IMHO ;-)

 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Steve Bertrand
PJ wrote:
 Steve Bertrand wrote:
 PJ wrote:
   
 Polytropon wrote:
 
 On Fri, 16 Oct 2009 17:54:23 -0400, PJ af.gour...@videotron.ca wrote:
   
   
 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on active
 file systems. ???
 
 
 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)

   
   
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done
 
 If you feel that you've found a 'bug' within the manual/documentation of
 a piece of software or function, I highly recommend that you pass it by
 other users/developers ( as you've kind-of done here ), and then contact
 the person who is normally listed in the AUTHOR section of the man page
 after you get a consensus on whether the manual, the code or you have
 the bug :)

 If you believe the problem is an engish-linguistic one (and the man page
 is written in english), let the author know this. Provide the correct
 verbiage, and an explanation of what your words mean compared to theirs
 (remember, english may not be their first language).

 Also, take a look at RFC 2119 for the keyword 'SHOULD' and 'SHOULD NOT'.
 RFC 2119 is highly regarded as the authority for many keywords, and a
 quick reference of it may help when trying to explain to an author where
 you feel their documentation is incorrect (or lacking).

 Cheers,

 Steve

   
 It is simple to understand Emglish but not so simple what was meant by
 whoever wrote it...I cannot correct something that I do not uderstand...
 come on, man, that should be easy to understand.

I understand that I'm confused :)

 I am afraid that with all the globalization people still do not
 understand that translations should be left to experts... an by that I
 mean the final version should always, and I mean always, be by a native
 speaking person.

That's an unfair thing to say. Are you saying that if someone with a
French native tongue wrote software that would benefit everyone, and
they wrote the manual in English to reach a broader audience, that the
manual shouldn't be released unless proof-read and re-written by an
English native?

Vous faire ce travail, mon ami? Je n'aime pas d'accord avec votre
utilisation du mot doit.

...the manual is available. I didn't mean to dis-respect you, I just
meant that if one 'could' help, then the developer is the one to hit up.

 I speak english, french, italian, some spanish and german as well as
 latvian... but I would never attempt to translate into any language
 other than English... and then not without the help of the original
 language's originator. ;-)

Nice... How 'bout Dutch ;) You will understand then:

Ne dis pas que la documentation ne peuvent etre ecrites par un auteur si
leur lange nest pas une espece indigen.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Steve Bertrand
Neal Hogan wrote:
 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It is
 a subtle difference and is indicative that whoever wrote it is not a
 native english user... the meaning is clearly should be executed, done,
 carried out, performed - should work means it  can be carried out  - I
 think the author meant to say should not be done
 I'm a native English speaker, and the manual makes perfect sense to me.
 It's very clear to me that since the statement is in the BUGS section,
 it means that the utility should, but doesn't. Since it follows a
 statement that the utility doesn't, the meaning is unambiguous.
 fwiw, upon first reading, I got the exact same impression about the
 writing under its context as Bob did.

 
 Am I the only one annoyed by the monthly PJ soap-operas. It seems that
 we get a ridiculous installment from this guy who bites off more than
 he can chew and then complains that it's too big every full (or is it
 fool) moon (28 day cycle . . . sorry obvious,stupid joke).

Hadn't really paid attention.

 The patience he gets from folks on this list should be commended, but
 questioned. In what sense is the community benefited from the dramatic
 life-story of an ungrateful novice? This guy puts forth his
 problem(s) only to update the list at every small/backward step and
 then ultimately offer something offensive such that the devs can't
 speak English.

The benefit(s)? If there are other long-term members who agree with what
you are getting at, then I'd say that the benefits are that it shows to
newcomers that no matter what, you'll always receive a respectable and
educated response.

It also shows that it doesn't matter what the poster's name is, or what
language they speak in, that those who love FreeBSD for what it is will
always bleed their souls to help them out, at any cost. What is learned
from hard work is better passed on to someone else.

Mia casa e tua casa, as my best friend's father always says. (my house
is your house).

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Neal Hogan
.

 He needs to work things out before blogging on
 freebsd-questi...@.

 IMHO ;-)


 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


 You are a pathetic example of the intolerant know-it all...not
 worthbothering with

Yet you did . . . and we continue the saga. fBSD, oBSD, etc. is not
the problem, as you claim. You, my friend, have a tendency to jump
into things and then complain when they do not go your way. The latest
of which is to complain about the language in which the man pages
were written . . . and you expect to be taken seriously. I know
English but it is sometimes difficult to understand. What?!

Intolerance is something you can;t charge me of. I offerred my genuine
help in the past. You chose to use that offer to bash an OS and come
back to an OS that you (apparently) can't handle.

You fail to see that it is your failings that let you down.

%...@*#^#%$ . . . does that make more sense?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Polytropon
On Fri, 16 Oct 2009 21:29:04 -0400, PJ af.gour...@videotron.ca wrote:
 It is simple to understand Emglish but not so simple what was meant by
 whoever wrote it...I cannot correct something that I do not uderstand...
 come on, man, that should be easy to understand.

As English is not my native language, I *now* understand the
meaning of it should; in this case, it seems to mean something
like basically, it is supposed to, but in this case, it does
not, regarding the desired action.



 I am afraid that with all the globalization people still do not
 understand that translations should be left to experts... an by that I
 mean the final version should always, and I mean always, be by a native
 speaking person.

It's still possible that non-native speakers misunderstand.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Neal Hogan

 The benefit(s)? If there are other long-term members who agree with what
 you are getting at, then I'd say that the benefits are that it shows to
 newcomers that no matter what, you'll always receive a respectable and
 educated response.


Does that really include taking seriously everything
posted/asked/bitched about on the list?

 It also shows that it doesn't matter what the poster's name is, or what
 language they speak in, that those who love FreeBSD for what it is will
 always bleed their souls to help them out, at any cost. What is learned
 from hard work is better passed on to someone else.


Yes . . . sure. . . but many, many houses have been built and it seems
reasonable to help those attempting to build something unique or
somewhat untested, than those who like to spend time complaining about
things that have been built and which they have not spent much time
thinking about, but just jotted down a command from google search and
is disappointed when it fails to satisfy.


 Mia casa e tua casa, as my best friend's father always says. (my house
 is your house).

 Steve

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Neal Hogan
 It is simple to understand Emglish but not so simple what was meant by
 whoever wrote it...I cannot correct something that I do not uderstand...
 come on, man, that should be easy to understand.
 I am afraid that with all the globalization people still do not
 understand that translations should be left to experts... an by that I
 mean the final version should always, and I mean always, be by a native
 speaking person.
 I speak english, french, italian, some spanish and german as well as
 latvian... but I would never attempt to translate into any language
 other than English... and then not without the help of the original
 language's originator. ;-)

since I'm in the mood
PJ, you certainly sound like a scholar . . . you speak many
languages and have a strict translation policy, yet (given those two
points) it doesn't follow you have any idea how to use any of those
languages.

You prefer drama and at some point we're going to realize that there
is no wolf? KISS! (google for translation).

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Warren Block

On Fri, 16 Oct 2009, Bob Hall wrote:

On Fri, Oct 16, 2009 at 07:27:42PM -0400, PJ wrote:

BUGS
This utility should work on active file systems.


I'm a native English speaker, and the manual makes perfect sense to me.
It's very clear to me that since the statement is in the BUGS section,
it means that the utility should, but doesn't. Since it follows a
statement that the utility doesn't, the meaning is unambiguous.


I understand it, but see ambiguity in the word should.  Easy enough to 
rewrite:


BUGS
This utility does not work on active file systems.

Now here's my challenge to PJ: use send-pr(1) or the web PR interface at 
http://www.freebsd.org/send-pr.html to submit this as a doc bug report.


That's how FreeBSD gets better, and how you help the next person in the 
same situation.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: I hate to bitch but bitch I must

2009-10-16 Thread Mark
-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of PJ
Sent: zaterdag 17 oktober 2009 3:50
To: Steve Bertrand
Cc: Polytropon; freebsd-questions@freebsd.org
Subject: Re: I hate to bitch but bitch I must

 but from man tunefs:
 BUGS
 This utility should work on active file systems.
 What in hades does this mean--just above it says cannot be run on
 active file systems. ???


 It should. This means: Don't try that. :-)

 My printer isn't printing!
 But it should.
 No, it is not printing!
 Yes, but it should.
 :-)

Actually, this has got very little to do with being a native English
speaker or not. It's ere a matter of intonation (which, in writing, can
only be conveyed to a certain degree, of course). 'Should' can certainly
mean Don't try that. As in:

Will the ice hold me?
Well, technically it should.

(Meaning: it probably will, but I'm not overly confident.)

 Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It
 is a subtle difference and is indicative that whoever wrote it is not
 a native english user... the meaning is clearly should be executed,
 done, carried out, performed

The meaning of 'should' is not nearly as narrow as you suggest. Often it
also denotes reservation (as in the above example). To illustrate once
more:

Can I run dump on an active file system?
It *should* run on an active file system, provided (enumerations of
conditions which would need to be met; like preferably no disk-activity
when making the backup).

(Meaning: it can be done, but it's ill-advised, really.) And clearly it
does not mean should be executed, done, carried out, performed.

Another one:

Will he run for President?
Well, he should be able to get enough votes.

(Meaning: if everything goes as planned, he might succeed, but it's by no
means guaranteed he'll actually get enough votes).

So, given the right intonation and context, This utility should work on
active file systems. can certainly be understood to mean one could
technically do so, but that it's not recommended.

- Mark

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Polytropon
On Fri, 16 Oct 2009 20:59:18 -0600 (MDT), Warren Block wbl...@wonkity.com 
wrote:
 I understand it, but see ambiguity in the word should.  Easy enough to 
 rewrite:
 
 BUGS
 This utility does not work on active file systems.
 
 Now here's my challenge to PJ: use send-pr(1) or the web PR interface at 
 http://www.freebsd.org/send-pr.html to submit this as a doc bug report.
 
 That's how FreeBSD gets better, and how you help the next person in the 
 same situation.

That's a good advice, because in this particular situation,
the utility in question does NOT work on active file systems,
it refuses to do so and throws the proper error message.

There are cases where a program should work (under certain
circumstances), but if a specified setting is not met, it
works incorrectly (but still works), like using dump on a
filesystem that's changing - usually producing a defective
dump file that cannot be properly restored.

For completeness: If a program does not work, the manual
should not say it should work, but it does not work
regarding a given situation.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread Bob Hall
On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote:
 Actually, this has got very little to do with being a native English
 speaker or not. It's ere a matter of intonation (which, in writing, can
 only be conveyed to a certain degree, of course). 'Should' can certainly
 mean Don't try that. As in:
 
 Will the ice hold me?
 Well, technically it should.
 
 (Meaning: it probably will, but I'm not overly confident.)

Actually, what's happening here is dropping part of a sentence. It's
common in English to shorten
Yea, it should work, but it doesn't.
to
Yea, it should work.
In order to catch the meaning, you have to be aware of context.

Contrary to the OP's claim, this shows a pretty good grasp of English
idiom. It's definitely not evidence that the man author is not a native
speaker of English.

On the other hand, it can be clarified so that the meaning is clear even
without context. If the OP really believes that the present wording is a
problem, other people have made suggestions on what to do about it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I hate to bitch but bitch I must

2009-10-16 Thread michael

PJ wrote:

Why is it that the manual pages, as thorough as they may be, are very,
very confusing.
Perhaps I am being too wary, but I find that too many 
instructions/examples are stumbling blocks to appreciation of the whole

system:
for instance, let's look at the instructions for changing disk labels
with glabel or is it tunefs ?
man glabel(8):

for UFS the file system label is set with
tunefs(8)
http://www.freebsd.org/cgi/man.cgi?query=tunefssektion=8apropos=0manpath=FreeBSD+7.2-RELEASE.
what happened to glabel?
man tunefs(8)
The *tunefs* utility cannot be
run on an active file system. To change an active file system, it must
be downgraded to read-only or unmounted.

So, you have to run tunefs from an active file system to modify another
disk?
but from man tunefs:
BUGS
This utility should work on active file systems.
What in hades does this mean--just above it says cannot be run on active
file systems. ???
 To change the root file
system, the system must be rebooted after the file system is tuned.

You can tune a file system, but you cannot tune a fish.
How cute... And fish eat bugs.

Seriously, now to the manual:
To create a permanent label for a UFS2 file system without destroying
any data, issue the following command:
# tunefs -L /home/ /dev/da3

Oh? home is what? What does this have to do with the partitions?
Here's from man glabel(8):

EXAMPLES
The following example shows how to set up a label for disk ``da2'', cre-
ate a file system on it, and mount it:
glabel label -v usr /dev/da2
newfs /dev/label/usr
mount /dev/label/usr /usr
[...]
umount /usr
glabel stop usr
glabel unload

The next example shows how to set up a label for a UFS file system:
tunefs -L data /dev/da4s1a
mount /dev/ufs/data /mnt/data

Am I to understand that glabel is only for a new system? What's with the
newfs... I'm trying to set labels on an system that is already set up.
And, the glabel examle above is not for UFS file systems? Oh, that's for
tunefs?
So why are we even dealing with this glabel?

from manual:
# tunefs -L /home/ //dev/da3/
A label should now exist in /dev/ufs which may be added to /etc/fstab:
/dev/ufs/home /home ufs rw 2 2

Why? Is this necessary? and somewhere I saw tunefs -L volume
/dev/da0s1a or something like that. Does that mean that each partition
should be tunefsd? Maybe the guys who programmed this stuff understand;
I sure don't. I just want to be able to set the labels according to what
they say can be done... so shy not have a clear and concise explanation?

Do people who write this stuff ever read it? Tell me that its clear and
simple and to the point... so far, I have been running back and forth
between half a dozen web pages trying to understand what is going on... 
and doing things through a dense fog does not produce creative results!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
  
ok, in short since i didn't see anyone answer this directly, your 
question of tunefs vs glabel:


tunefs is for UFS: it labels a UFS filesystem, no matter the device, ie: 
ad or da. tunefs is part of the filesystem utilities for UFS.
good example, can't tunefs -L SWAP /dev/ad0s1b if it is a swap. you can 
glabel it.


glabel is for labeling a device itself. you can glabel an ntfs 
filesystem or ext2, whatever.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org