Re: can't find fstab entry ?

2016-09-10 Thread Raul Miller
This?
http://www.businessinsider.com/people-are-mad-at-linus-torvalds-again-2015-1
(for the "linus" paragraph) or, for that matter, this?
https://packages.debian.org/jessie/coreutils (for the "dir" paragraph)

Slightly on topic (and attempting to redeem myself for responding to this
particular troll), I will note that http://man.openbsd.org/fstab.5 has
several paragraphs that touch on the issue raised in this thread, one of
which is this:

"The fourth field, fs_mntops, describes the mount options associated with
the filesystem. It is formatted as a comma separated list of options. It
contains at least the type of mount (see fs_type below) plus any additional
options appropriate to the filesystem type."

Thanks,

-- 
Raul



On Sat, Sep 10, 2016 at 11:46 PM, Dag Richards 
wrote:

> On 9/10/16 12:54 PM, Theo de Raadt wrote:
>
>> On Sat, Sep 10, 2016 at 06:52:39PM +0300, Consus wrote:
>>>
>>> On 03:09 Mon 05 Sep, Theo de Raadt wrote:

> OpenBSD 6.0 GENERIC.MP#0 amd64
>>
>> My fstab entry looks like :
>>
>> 10.10.10.10:/srv/share /mnt/ops_test nfs
>> defaults,noexec,nosuid,nodev,auto 0 0
>>
>> However:
>>
>> $ doas mount /mnt/ops_test
>> doas (m...@example.com) password:
>> mount: can't find fstab entry for /mnt/ops_test
>>
>>
>> Any ideas  ?  That style of fstab entry seems to work fine on my linux
>> boxes (albeit with nfs4 instead of nfs, but that makes no difference
>> on openbsd).
>>
>
> Well, openbsd is not linux.
>
> Have no idea what that word "defaults" in there means.
>

 I guess it would've been better to say something like:

 mount: unknown option "defaults" for /mnt/ops_test

 Care for a patch?

>>>
>>> The option parsing code already gives you en error message if it sees
>>> an unknown option.
>>>
>>
>> Such as:
>>
>>  mount_ffs: -o default: option not supported
>>
>> Summary: The OP has a learning disability.  He should probably stay in
>> Linux land, where the field is large, and his inability can remain
>> hidden.  See, once again I am not insulting Linux.
>>
>>
>
> "See, once again I am not insulting Linux."
>
> Hopefully you have derived at some modicum of amusement from this exchange.
>
> It's had me chuckling all afternoon.
>
> More proof that OBSD deserves it's reputation for harshness.
>
> Whereas with Linux ... Well Linus is known as a humble compassionate
> person, who's patience kindness is admired by all.  It's always heart
> warming how Linus monitors the maligning lists and chimes in with helpful
> hints and words of encouragement.
>
>
> when I type dir in the command thingy it never tells me this files is sees.
>
>
>
> --
>
> IS-IS sleeps.
> BGP peers are quiet.
> Something must be wrong.



Re: can't find fstab entry ?

2016-09-10 Thread Dag Richards

On 9/10/16 12:54 PM, Theo de Raadt wrote:

On Sat, Sep 10, 2016 at 06:52:39PM +0300, Consus wrote:


On 03:09 Mon 05 Sep, Theo de Raadt wrote:

OpenBSD 6.0 GENERIC.MP#0 amd64

My fstab entry looks like :

10.10.10.10:/srv/share /mnt/ops_test nfs defaults,noexec,nosuid,nodev,auto 0 0

However:

$ doas mount /mnt/ops_test
doas (m...@example.com) password:
mount: can't find fstab entry for /mnt/ops_test


Any ideas  ?  That style of fstab entry seems to work fine on my linux
boxes (albeit with nfs4 instead of nfs, but that makes no difference
on openbsd).


Well, openbsd is not linux.

Have no idea what that word "defaults" in there means.


I guess it would've been better to say something like:

mount: unknown option "defaults" for /mnt/ops_test

Care for a patch?


The option parsing code already gives you en error message if it sees
an unknown option.


Such as:

 mount_ffs: -o default: option not supported

Summary: The OP has a learning disability.  He should probably stay in
Linux land, where the field is large, and his inability can remain
hidden.  See, once again I am not insulting Linux.




"See, once again I am not insulting Linux."

Hopefully you have derived at some modicum of amusement from this exchange.

It's had me chuckling all afternoon.

More proof that OBSD deserves it's reputation for harshness.

Whereas with Linux ... Well Linus is known as a humble compassionate 
person, who's patience kindness is admired by all.  It's always heart 
warming how Linus monitors the maligning lists and chimes in with 
helpful hints and words of encouragement.



when I type dir in the command thingy it never tells me this files is sees.



--

IS-IS sleeps.
BGP peers are quiet.
Something must be wrong.



Re: can't find fstab entry ?

2016-09-10 Thread Eric Furman
Troll

Look at his email address; r.a.n.d.o.m.d.e.v.4+openbsdm...@gmail.com
An account setup just so he can troll.
I would be willing to bet "Bob Jones" is not even his real name.
Hey Bob, was John Smith already taken?
And I kept it civil. :)
You're not trying hard enough Bob.

On Sat, Sep 10, 2016, at 10:28 AM, Bob Jones wrote:
> Well Theo ... Perhaps you ought to learn the old saying "if you've got
> nothing constructive to say, keep your trap shut"
> 
> I don't give a toss who you are or how awesome you think your little pet
> project is.   I originally asked a perfectly genuine and fair question, 
> I
> am obviously not a OpenBSD veteran . And yet you took it as an
> opportunity to both slag-off the newbie and Linux with a smart-Alec
> reply.
> 
> Thanks for nothing and you can stick your crocodile tears where the sun
> doesn't shine.
> 
> On Saturday, 10 September 2016, Theo de Raadt 
> wrote:
> 
> > If you cannot work your way through the tiny little problem -- of
> > using options from an incompatible operation system -- there is little
> > hope for you in this field and you should probably go back to familiar
> > ground.
> >
> > you will only receive crocodile tears from me.
> >
> > > Theo said absolutely nothing useful ,  and as I said in my prior reply, I
> > > removed the config item he was moaning about and it had zero effect.
> > >
> > > Thanks a bunch guys.  The openBSD community really sucks.
> > >
> > > On Thursday, 8 September 2016, Raul Miller  > > wrote:
> > >
> > > > Perhaps re-read what Theo said, and do not stop and give up when you
> > > > get to the word "linux"?
> > > >
> > > > Good luck,
> > > >
> > > > --
> > > > Raul
> > > >
> > > > On Thu, Sep 8, 2016 at 9:46 AM, Bob Jones
> > > > 
> > > wrote:
> > > > > Soany one care to give a more sensible suggestion than Theo's
> > > > > unnecessary anti-Linux rant ??
> > > > >
> > > > > On Monday, 5 September 2016, Theo de Raadt  > 
> > > > > wrote:
> > > > >
> > > > >> > OpenBSD 6.0 GENERIC.MP#0 amd64
> > > > >> >
> > > > >> > My fstab entry looks like :
> > > > >> >
> > > > >> > 10.10.10.10:/srv/share /mnt/ops_test nfs
> > > > defaults,noexec,nosuid,nodev,auto
> > > > >> 0 0
> > > > >> >
> > > > >> > However:
> > > > >> >
> > > > >> > $ doas mount /mnt/ops_test
> > > > >> > doas (m...@example.com  
> > ) password:
> > > > >> > mount: can't find fstab entry for /mnt/ops_test
> > > > >> >
> > > > >> >
> > > > >> > Any ideas  ?  That style of fstab entry seems to work fine on my
> > linux
> > > > >> > boxes (albeit with nfs4 instead of nfs, but that makes no
> > difference
> > > > >> > on openbsd).
> > > > >>
> > > > >> Well, openbsd is not linux.
> > > > >>
> > > > >> Have no idea what that word "defaults" in there means.



Re: xenocara build on fresh install

2016-09-10 Thread trondd
On Sat, September 10, 2016 4:14 pm, Stephen Trotter wrote:
> hi, I am just curious if the defaults (namely the disk sizes) are supposed
> to be sufficient for building xenocara after a fresh install.
>
> i attempted to do so following release(8) and it ended unsuccessfully due
> to the drive/filesystem being full.
>
> (it does seem to have almost finished, by the way)
>
> All I have done else in the system is pulling source and making according
> to the faq5 page.  This is after skipping the "release" part and moving on
> to building xenocara.
>
> Let me know what else i need to include for assist.
>

No.  Generally users are encouraged to use snapshots and packages and not
build things themselves so the auto-partitioning mostly assumes that.  The
problem is that since the auto-partitioning layout doesn't include a
separate /usr/xenocara or /usr/xobj partitions, it all goes into /usr
which is allocated a max of 2G and probably not enough inodes.

See disklabel(8).

If you have a giant /home left over, carve out a /usr/xenocara and a
/usr/xobj for yourself.  I gave each 5G and am using ~15% of each.  To
give you an idea.

Tim.



Re: can't find fstab entry ?

2016-09-10 Thread Mihai Popescu
> Summary: The OP has a learning disability.  He should probably stay in
> Linux land, where the field is large, and his inability can remain
> hidden.  See, once again I am not insulting Linux.

I can bet that if you take even a non-linux guy and show him
/etc/fstab entries then ask him to do a new entry, in 99.(9) cases he
will duplicate all the arguments from the old entries. I simpy don't
know why Bob didn't do that. Maybe he thinks different. Bob was warned
he has one thing too much, but he was not able to compare things and
make a new entry. Still amassing thinking ...

Welcome to OpenBSD, Bob!



xenocara build on fresh install

2016-09-10 Thread Stephen Trotter
hi, I am just curious if the defaults (namely the disk sizes) are supposed
to be sufficient for building xenocara after a fresh install.

i attempted to do so following release(8) and it ended unsuccessfully due
to the drive/filesystem being full.

(it does seem to have almost finished, by the way)

All I have done else in the system is pulling source and making according
to the faq5 page.  This is after skipping the "release" part and moving on
to building xenocara.

Let me know what else i need to include for assist.



Re: can't find fstab entry ?

2016-09-10 Thread Theo de Raadt
> On Sat, Sep 10, 2016 at 06:52:39PM +0300, Consus wrote:
> 
> > On 03:09 Mon 05 Sep, Theo de Raadt wrote:
> > > > OpenBSD 6.0 GENERIC.MP#0 amd64
> > > > 
> > > > My fstab entry looks like :
> > > > 
> > > > 10.10.10.10:/srv/share /mnt/ops_test nfs 
> > > > defaults,noexec,nosuid,nodev,auto 0 0
> > > > 
> > > > However:
> > > > 
> > > > $ doas mount /mnt/ops_test
> > > > doas (m...@example.com) password:
> > > > mount: can't find fstab entry for /mnt/ops_test
> > > > 
> > > > 
> > > > Any ideas  ?  That style of fstab entry seems to work fine on my linux
> > > > boxes (albeit with nfs4 instead of nfs, but that makes no difference
> > > > on openbsd).
> > > 
> > > Well, openbsd is not linux.
> > > 
> > > Have no idea what that word "defaults" in there means.
> > 
> > I guess it would've been better to say something like:
> > 
> > mount: unknown option "defaults" for /mnt/ops_test
> > 
> > Care for a patch?
> 
> The option parsing code already gives you en error message if it sees
> an unknown option.

Such as:

mount_ffs: -o default: option not supported

Summary: The OP has a learning disability.  He should probably stay in
Linux land, where the field is large, and his inability can remain
hidden.  See, once again I am not insulting Linux.



Re: can't find fstab entry ?

2016-09-10 Thread Otto Moerbeek
On Sat, Sep 10, 2016 at 06:52:39PM +0300, Consus wrote:

> On 03:09 Mon 05 Sep, Theo de Raadt wrote:
> > > OpenBSD 6.0 GENERIC.MP#0 amd64
> > > 
> > > My fstab entry looks like :
> > > 
> > > 10.10.10.10:/srv/share /mnt/ops_test nfs 
> > > defaults,noexec,nosuid,nodev,auto 0 0
> > > 
> > > However:
> > > 
> > > $ doas mount /mnt/ops_test
> > > doas (m...@example.com) password:
> > > mount: can't find fstab entry for /mnt/ops_test
> > > 
> > > 
> > > Any ideas  ?  That style of fstab entry seems to work fine on my linux
> > > boxes (albeit with nfs4 instead of nfs, but that makes no difference
> > > on openbsd).
> > 
> > Well, openbsd is not linux.
> > 
> > Have no idea what that word "defaults" in there means.
> 
> I guess it would've been better to say something like:
> 
>   mount: unknown option "defaults" for /mnt/ops_test
> 
> Care for a patch?

The option parsing code already gives you en error message if it sees
an unknown option.

-Otto



Re: can't find fstab entry ?

2016-09-10 Thread Consus
On 03:09 Mon 05 Sep, Theo de Raadt wrote:
> > OpenBSD 6.0 GENERIC.MP#0 amd64
> > 
> > My fstab entry looks like :
> > 
> > 10.10.10.10:/srv/share /mnt/ops_test nfs defaults,noexec,nosuid,nodev,auto 
> > 0 0
> > 
> > However:
> > 
> > $ doas mount /mnt/ops_test
> > doas (m...@example.com) password:
> > mount: can't find fstab entry for /mnt/ops_test
> > 
> > 
> > Any ideas  ?  That style of fstab entry seems to work fine on my linux
> > boxes (albeit with nfs4 instead of nfs, but that makes no difference
> > on openbsd).
> 
> Well, openbsd is not linux.
> 
> Have no idea what that word "defaults" in there means.

I guess it would've been better to say something like:

mount: unknown option "defaults" for /mnt/ops_test

Care for a patch?



Re: random malloc junk

2016-09-10 Thread Theo de Raadt
> > I selected 0xdf a long time ago as an alternative to the 0xd0 (Duh)
> > byte used for new chunks. Both as a mnemonic for "free" and because it
> > is likely to cause segfaults. A pointer ending in 0xdf often will be
> > unaligned. Of course that won't work on all archs or all pointers.
> >
> > Random patterns are also likely to produce segfaults, using them as a
> > pointer has a big chance of being unaligned or pointing to an unmapped
> > page.
> 
> Did you ever try filling all allocations and frees with random data
> to see if it exposes new bugs?  Having that option could be useful for
> testing & development.
> 
> The d0 & df patterns can hide problems, I've found the hard way.  E.g.
> in integer comparisons there's a good chance they will consistently
> take you to the same branch, and that could be a branch where your
> use of freed or unitialized memory doesn't manifest in any observable
> malbehavior.  Random data would likely trigger such snafus.

Well, a diff has been sent which does what you speak of.  So please
show a bug of the class you just described, using it.  You found out
the hard way, so show it being discovered here.  Looking forward to
your mail.

The problem is the cost of this change is *far from free*.  If it is
3x as expensive at runtime, and results in fewer people using the
option as a result, then it will discovered fewer results than it
finds now.



Re: random malloc junk

2016-09-10 Thread Henri Kemppainen
> I selected 0xdf a long time ago as an alternative to the 0xd0 (Duh)
> byte used for new chunks. Both as a mnemonic for "free" and because it
> is likely to cause segfaults. A pointer ending in 0xdf often will be
> unaligned. Of course that won't work on all archs or all pointers.
>
> Random patterns are also likely to produce segfaults, using them as a
> pointer has a big chance of being unaligned or pointing to an unmapped
> page.

Did you ever try filling all allocations and frees with random data
to see if it exposes new bugs?  Having that option could be useful for
testing & development.

The d0 & df patterns can hide problems, I've found the hard way.  E.g.
in integer comparisons there's a good chance they will consistently
take you to the same branch, and that could be a branch where your
use of freed or unitialized memory doesn't manifest in any observable
malbehavior.  Random data would likely trigger such snafus.



Re: can't find fstab entry ?

2016-09-10 Thread Steve Shockley

On 9/10/2016 8:12 AM, Otto Moerbeek wrote:

Run it
through hexdump -C to see if there are funny chars in the file.


There will come a day when I'll stop learning about simple, obvious, 
useful Unix commands.  Today is not that day.




Re: can't find fstab entry ?

2016-09-10 Thread Theo de Raadt
> Well Theo ... Perhaps you ought to learn the old saying "if you've got
> nothing constructive to say, keep your trap shut"

Well perhaps you should just leave if you don't like the truth?

> I don't give a toss who you are or how awesome you think your little pet
> project is.   I originally asked a perfectly genuine and fair question,  I
> am obviously not a OpenBSD veteran . And yet you took it as an
> opportunity to both slag-off the newbie and Linux with a smart-Alec reply.

I did not slag Linux at all.

I said you were copying a line from Linux and expecting it to work.

It is all about your actions.

If you can't cope with OpenBSD and Linux being different, then you
are too short.

Survival in the universe requires more than copy-and-paste.

> Thanks for nothing and you can stick your crocodile tears where the sun
> doesn't shine.

Poor little Bob the farmhand.



Re: can't find fstab entry ?

2016-09-10 Thread Brent Cook
You forgot to put 'rw', 'ro', or 'rq' as the first element of the options
column (where you had the undefined word 'defaults').

If you don't include one of these options as indicated in the man page and
all of its examples, the fstab line will be ignored entirely in OpenBSD.
This is slightly different behavior than Linux, where invalid lines are not
discarded, but instead passed all the way to the mount command, to show a
different kind of error:

E.g., if I gave linux this: 10.10.10.10:/mnt  /mnt nfs nodev,nosuid,softdep
0 0

I'd get this:

  mount.nfs: an incorrect mount option was specified

The Linux manpage has almost the same warning about what should be in this
field. The only difference is Linux mount has a 'defaults' alias that means
'rw, suid, dev, exec, auto, nouser, and async', and doesn't really make
sense mixed with any other options on Linux either.


On Sat, Sep 10, 2016 at 7:05 AM, Bob Jones <
r.a.n.d.o.m.d.e.v.4+openbsdm...@gmail.com> wrote:

> And as I said in my reply to him and the list, I removed those options and
> it's still broken.
>
> On Thursday, 8 September 2016, Otto Moerbeek  wrote:
>
> > On Thu, Sep 08, 2016 at 02:46:03PM +0100, Bob Jones wrote:
> >
> > > Soany one care to give a more sensible suggestion than Theo's
> > > unnecessary anti-Linux rant ??
> >
> > He gave you a clue. You are using options that do not exist op OpenBSD.
> > See mount(8)
> >
> > -Otto
> >
> >
> > >
> > > On Monday, 5 September 2016, Theo de Raadt  > > wrote:
> > >
> > > > > OpenBSD 6.0 GENERIC.MP#0 amd64
> > > > >
> > > > > My fstab entry looks like :
> > > > >
> > > > > 10.10.10.10:/srv/share /mnt/ops_test nfs
> > defaults,noexec,nosuid,nodev,auto
> > > > 0 0
> > > > >
> > > > > However:
> > > > >
> > > > > $ doas mount /mnt/ops_test
> > > > > doas (m...@example.com  ) password:
> > > > > mount: can't find fstab entry for /mnt/ops_test
> > > > >
> > > > >
> > > > > Any ideas  ?  That style of fstab entry seems to work fine on my
> > linux
> > > > > boxes (albeit with nfs4 instead of nfs, but that makes no
> difference
> > > > > on openbsd).
> > > >
> > > > Well, openbsd is not linux.
> > > >
> > > > Have no idea what that word "defaults" in there means.



Re: can't find fstab entry ?

2016-09-10 Thread Bob Jones
Well Theo ... Perhaps you ought to learn the old saying "if you've got
nothing constructive to say, keep your trap shut"

I don't give a toss who you are or how awesome you think your little pet
project is.   I originally asked a perfectly genuine and fair question,  I
am obviously not a OpenBSD veteran . And yet you took it as an
opportunity to both slag-off the newbie and Linux with a smart-Alec reply.

Thanks for nothing and you can stick your crocodile tears where the sun
doesn't shine.

On Saturday, 10 September 2016, Theo de Raadt  wrote:

> If you cannot work your way through the tiny little problem -- of
> using options from an incompatible operation system -- there is little
> hope for you in this field and you should probably go back to familiar
> ground.
>
> you will only receive crocodile tears from me.
>
> > Theo said absolutely nothing useful ,  and as I said in my prior reply, I
> > removed the config item he was moaning about and it had zero effect.
> >
> > Thanks a bunch guys.  The openBSD community really sucks.
> >
> > On Thursday, 8 September 2016, Raul Miller  > wrote:
> >
> > > Perhaps re-read what Theo said, and do not stop and give up when you
> > > get to the word "linux"?
> > >
> > > Good luck,
> > >
> > > --
> > > Raul
> > >
> > > On Thu, Sep 8, 2016 at 9:46 AM, Bob Jones
> > > 
> > wrote:
> > > > Soany one care to give a more sensible suggestion than Theo's
> > > > unnecessary anti-Linux rant ??
> > > >
> > > > On Monday, 5 September 2016, Theo de Raadt  
> > > > wrote:
> > > >
> > > >> > OpenBSD 6.0 GENERIC.MP#0 amd64
> > > >> >
> > > >> > My fstab entry looks like :
> > > >> >
> > > >> > 10.10.10.10:/srv/share /mnt/ops_test nfs
> > > defaults,noexec,nosuid,nodev,auto
> > > >> 0 0
> > > >> >
> > > >> > However:
> > > >> >
> > > >> > $ doas mount /mnt/ops_test
> > > >> > doas (m...@example.com  
> ) password:
> > > >> > mount: can't find fstab entry for /mnt/ops_test
> > > >> >
> > > >> >
> > > >> > Any ideas  ?  That style of fstab entry seems to work fine on my
> linux
> > > >> > boxes (albeit with nfs4 instead of nfs, but that makes no
> difference
> > > >> > on openbsd).
> > > >>
> > > >> Well, openbsd is not linux.
> > > >>
> > > >> Have no idea what that word "defaults" in there means.



Re: can't find fstab entry ?

2016-09-10 Thread Don Allen

On 09/10/2016 08:04 AM, Bob Jones wrote:

Theo said absolutely nothing useful ,  and as I said in my prior reply, I
removed the config item he was moaning about and it had zero effect.

Thanks a bunch guys.  The openBSD community really sucks.
It does tend to get testy when someone like you doesn't read carefully 
and doesn't follow the advice of experts trying to help.


What you said above -- "Theo said absolutely nothing useful" -- is the 
crux of the problem. You also characterized what he said as "rant". You 
are wrong on both counts. There was real information in "OpenBSD is not 
Linux", something I'm surprised he needed to point out to you, but he 
did. He was telling you that you were assuming that what you do in a 
Linux fstab file will or should be valid in an OpenBSD fstab file, which 
is not true, because the two systems are not the same.


You are also failing to realize that OpenBSD is one of the 
best-documented OSes in existence. If you had taken the time to do the 
sensible thing -- read the fstab man page -- it''s likely we wouldn't be 
wasting network bandwidth on this.


On Thursday, 8 September 2016, Raul Miller  wrote:


Perhaps re-read what Theo said, and do not stop and give up when you
get to the word "linux"?

Good luck,

--
Raul

On Thu, Sep 8, 2016 at 9:46 AM, Bob Jones
> wrote:

Soany one care to give a more sensible suggestion than Theo's
unnecessary anti-Linux rant ??

On Monday, 5 September 2016, Theo de Raadt 
> wrote:

OpenBSD 6.0 GENERIC.MP#0 amd64

My fstab entry looks like :

10.10.10.10:/srv/share /mnt/ops_test nfs

defaults,noexec,nosuid,nodev,auto

0 0

However:

$ doas mount /mnt/ops_test
doas (m...@example.com  ) password:
mount: can't find fstab entry for /mnt/ops_test


Any ideas  ?  That style of fstab entry seems to work fine on my linux
boxes (albeit with nfs4 instead of nfs, but that makes no difference
on openbsd).

Well, openbsd is not linux.

Have no idea what that word "defaults" in there means.




Re: can't find fstab entry ?

2016-09-10 Thread Edgar Pettijohn
Sent from my iPhone

> On Sep 10, 2016, at 7:04 AM, Bob Jones
 wrote:
>
> Theo said absolutely nothing useful ,  and as I said in my prior reply, I
> removed the config item he was moaning about and it had zero effect.
>
> Thanks a bunch guys.  The openBSD community really sucks.
>
>> On Thursday, 8 September 2016, Raul Miller  wrote:
>>
>> Perhaps re-read what Theo said, and do not stop and give up when you
>> get to the word "linux"?
>>
>> Good luck,
>>
>> --
>> Raul
>>
>> On Thu, Sep 8, 2016 at 9:46 AM, Bob Jones
>> > wrote:
>>> Soany one care to give a more sensible suggestion than Theo's
>>> unnecessary anti-Linux rant ??
>>>
 On Monday, 5 September 2016, Theo de Raadt >> > wrote:
>>>
> OpenBSD 6.0 GENERIC.MP#0 amd64
>
> My fstab entry looks like :
>
> 10.10.10.10:/srv/share /mnt/ops_test nfs
>> defaults,noexec,nosuid,nodev,auto
 0 0
>
I don't think auto belongs there either. Perhaps you meant noauto.

> However:
>
> $ doas mount /mnt/ops_test
> doas (m...@example.com  ) password:
> mount: can't find fstab entry for /mnt/ops_test
>
>
> Any ideas  ?  That style of fstab entry seems to work fine on my linux
> boxes (albeit with nfs4 instead of nfs, but that makes no difference
> on openbsd).

 Well, openbsd is not linux.

 Have no idea what that word "defaults" in there means.



Re: can't find fstab entry ?

2016-09-10 Thread Theo de Raadt
> On Sat, Sep 10, 2016 at 01:05:13PM +0100, Bob Jones wrote:
> 
> > And as I said in my reply to him and the list, I removed those options and
> > it's still broken.
> 
> Show the line you have now. Some questions: Does it end with a
> newline? Is there some malformed line before your problem line? Run it
> through hexdump -C to see if there are funny chars in the file.

Otto, come on really some people can't be helped because they won't
help themselves.  If Bob can't figure that out himself, then he's not
ready to use mount, or OpenBSD, or the mix of the two.

Bob, here's a file which might help you:

http://www.occupationsguide.cz/en/abecedni/abecedni.htm



Re: can't find fstab entry ?

2016-09-10 Thread Otto Moerbeek
On Sat, Sep 10, 2016 at 01:05:13PM +0100, Bob Jones wrote:

> And as I said in my reply to him and the list, I removed those options and
> it's still broken.

Show the line you have now. Some questions: Does it end with a
newline? Is there some malformed line before your problem line? Run it
through hexdump -C to see if there are funny chars in the file.

-Otto

> 
> On Thursday, 8 September 2016, Otto Moerbeek  wrote:
> 
> > On Thu, Sep 08, 2016 at 02:46:03PM +0100, Bob Jones wrote:
> >
> > > Soany one care to give a more sensible suggestion than Theo's
> > > unnecessary anti-Linux rant ??
> >
> > He gave you a clue. You are using options that do not exist op OpenBSD.
> > See mount(8)
> >
> > -Otto
> >
> >
> > >
> > > On Monday, 5 September 2016, Theo de Raadt  > > wrote:
> > >
> > > > > OpenBSD 6.0 GENERIC.MP#0 amd64
> > > > >
> > > > > My fstab entry looks like :
> > > > >
> > > > > 10.10.10.10:/srv/share /mnt/ops_test nfs
> > defaults,noexec,nosuid,nodev,auto
> > > > 0 0
> > > > >
> > > > > However:
> > > > >
> > > > > $ doas mount /mnt/ops_test
> > > > > doas (m...@example.com  ) password:
> > > > > mount: can't find fstab entry for /mnt/ops_test
> > > > >
> > > > >
> > > > > Any ideas  ?  That style of fstab entry seems to work fine on my
> > linux
> > > > > boxes (albeit with nfs4 instead of nfs, but that makes no difference
> > > > > on openbsd).
> > > >
> > > > Well, openbsd is not linux.
> > > >
> > > > Have no idea what that word "defaults" in there means.



Re: can't find fstab entry ?

2016-09-10 Thread Theo de Raadt
If you cannot work your way through the tiny little problem -- of
using options from an incompatible operation system -- there is little
hope for you in this field and you should probably go back to familiar
ground.

you will only receive crocodile tears from me.

> Theo said absolutely nothing useful ,  and as I said in my prior reply, I
> removed the config item he was moaning about and it had zero effect.
> 
> Thanks a bunch guys.  The openBSD community really sucks.
> 
> On Thursday, 8 September 2016, Raul Miller  wrote:
> 
> > Perhaps re-read what Theo said, and do not stop and give up when you
> > get to the word "linux"?
> >
> > Good luck,
> >
> > --
> > Raul
> >
> > On Thu, Sep 8, 2016 at 9:46 AM, Bob Jones
> > > wrote:
> > > Soany one care to give a more sensible suggestion than Theo's
> > > unnecessary anti-Linux rant ??
> > >
> > > On Monday, 5 September 2016, Theo de Raadt  > > wrote:
> > >
> > >> > OpenBSD 6.0 GENERIC.MP#0 amd64
> > >> >
> > >> > My fstab entry looks like :
> > >> >
> > >> > 10.10.10.10:/srv/share /mnt/ops_test nfs
> > defaults,noexec,nosuid,nodev,auto
> > >> 0 0
> > >> >
> > >> > However:
> > >> >
> > >> > $ doas mount /mnt/ops_test
> > >> > doas (m...@example.com  ) password:
> > >> > mount: can't find fstab entry for /mnt/ops_test
> > >> >
> > >> >
> > >> > Any ideas  ?  That style of fstab entry seems to work fine on my linux
> > >> > boxes (albeit with nfs4 instead of nfs, but that makes no difference
> > >> > on openbsd).
> > >>
> > >> Well, openbsd is not linux.
> > >>
> > >> Have no idea what that word "defaults" in there means.



Re: can't find fstab entry ?

2016-09-10 Thread Bob Jones
And as I said in my reply to him and the list, I removed those options and
it's still broken.

On Thursday, 8 September 2016, Otto Moerbeek  wrote:

> On Thu, Sep 08, 2016 at 02:46:03PM +0100, Bob Jones wrote:
>
> > Soany one care to give a more sensible suggestion than Theo's
> > unnecessary anti-Linux rant ??
>
> He gave you a clue. You are using options that do not exist op OpenBSD.
> See mount(8)
>
> -Otto
>
>
> >
> > On Monday, 5 September 2016, Theo de Raadt  > wrote:
> >
> > > > OpenBSD 6.0 GENERIC.MP#0 amd64
> > > >
> > > > My fstab entry looks like :
> > > >
> > > > 10.10.10.10:/srv/share /mnt/ops_test nfs
> defaults,noexec,nosuid,nodev,auto
> > > 0 0
> > > >
> > > > However:
> > > >
> > > > $ doas mount /mnt/ops_test
> > > > doas (m...@example.com  ) password:
> > > > mount: can't find fstab entry for /mnt/ops_test
> > > >
> > > >
> > > > Any ideas  ?  That style of fstab entry seems to work fine on my
> linux
> > > > boxes (albeit with nfs4 instead of nfs, but that makes no difference
> > > > on openbsd).
> > >
> > > Well, openbsd is not linux.
> > >
> > > Have no idea what that word "defaults" in there means.



Re: can't find fstab entry ?

2016-09-10 Thread Bob Jones
Theo said absolutely nothing useful ,  and as I said in my prior reply, I
removed the config item he was moaning about and it had zero effect.

Thanks a bunch guys.  The openBSD community really sucks.

On Thursday, 8 September 2016, Raul Miller  wrote:

> Perhaps re-read what Theo said, and do not stop and give up when you
> get to the word "linux"?
>
> Good luck,
>
> --
> Raul
>
> On Thu, Sep 8, 2016 at 9:46 AM, Bob Jones
> > wrote:
> > Soany one care to give a more sensible suggestion than Theo's
> > unnecessary anti-Linux rant ??
> >
> > On Monday, 5 September 2016, Theo de Raadt  > wrote:
> >
> >> > OpenBSD 6.0 GENERIC.MP#0 amd64
> >> >
> >> > My fstab entry looks like :
> >> >
> >> > 10.10.10.10:/srv/share /mnt/ops_test nfs
> defaults,noexec,nosuid,nodev,auto
> >> 0 0
> >> >
> >> > However:
> >> >
> >> > $ doas mount /mnt/ops_test
> >> > doas (m...@example.com  ) password:
> >> > mount: can't find fstab entry for /mnt/ops_test
> >> >
> >> >
> >> > Any ideas  ?  That style of fstab entry seems to work fine on my linux
> >> > boxes (albeit with nfs4 instead of nfs, but that makes no difference
> >> > on openbsd).
> >>
> >> Well, openbsd is not linux.
> >>
> >> Have no idea what that word "defaults" in there means.