Re: [zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?

2010-04-15 Thread ольга крыжановская
Tim, did ZFS or CIFS add other pathconf() values which need to be
implemented in getconf or ksh93?

Olga

2010/4/15 ольга крыжановская :
> /usr/bin/getconf _PC_CASE_BEHAVIOR /tmp
> getconf: Invalid argument (_PC_CASE_BEHAVIOR)
>
> I'm sure this is a bug, right?
>
> Olga
>
> On Thu, Apr 15, 2010 at 9:52 PM, Tim Haley  wrote:
>> On 04/14/10 11:48 AM, Glenn Fowler wrote:
>>>
>>> On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?=
>>> wrote:

 Can I use getconf to test if a ZFS file system is mounted in case
 insensitive mode?
>>>
>>> we would have to put in the zfs query (hopefull more generic that just for
>>> zfs)
>>> the only current working case-insensitive checks are for uwin
>>>
>>> ___
>>> zfs-discuss mailing list
>>> zfs-discuss@opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>>
>> There is a pathconf(2) check described in the
>> documentation for the case-insensitive behavior ARC case
>>
>> http://arc.opensolaris.org/caselog/PSARC/2007/244/spec.txt
>>
>> Not sure why it's not in the man page...
>>
>> -tim
>> ___
>> zfs-discuss mailing list
>> zfs-discuss@opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>>
>
>
>
> --
>  ,   __   ,
> { \/`o;-Olga Kryzhanovska   -;o`\/ }
> .'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
>  `'-..-| / Solaris/BSD//C/C++ programmer   \ |-..-'`
>  /\/\ /\/\
>  `--`  `--`
>



-- 
  ,   __   ,
 { \/`o;-Olga Kryzhanovska   -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
 `'-..-| / Solaris/BSD//C/C++ programmer   \ |-..-'`
  /\/\ /\/\
  `--`  `--`
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?

2010-04-15 Thread ольга крыжановская
/usr/bin/getconf _PC_CASE_BEHAVIOR /tmp
getconf: Invalid argument (_PC_CASE_BEHAVIOR)

I'm sure this is a bug, right?

Olga

On Thu, Apr 15, 2010 at 9:52 PM, Tim Haley  wrote:
> On 04/14/10 11:48 AM, Glenn Fowler wrote:
>>
>> On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?=
>> wrote:
>>>
>>> Can I use getconf to test if a ZFS file system is mounted in case
>>> insensitive mode?
>>
>> we would have to put in the zfs query (hopefull more generic that just for
>> zfs)
>> the only current working case-insensitive checks are for uwin
>>
>> ___
>> zfs-discuss mailing list
>> zfs-discuss@opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
> There is a pathconf(2) check described in the
> documentation for the case-insensitive behavior ARC case
>
> http://arc.opensolaris.org/caselog/PSARC/2007/244/spec.txt
>
> Not sure why it's not in the man page...
>
> -tim
> ___
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>



-- 
  ,   __   ,
 { \/`o;-Olga Kryzhanovska   -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
 `'-..-| / Solaris/BSD//C/C++ programmer   \ |-..-'`
  /\/\ /\/\
  `--`  `--`
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?

2010-04-15 Thread Tim Haley

On 04/14/10 11:48 AM, Glenn Fowler wrote:


On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote:

Can I use getconf to test if a ZFS file system is mounted in case
insensitive mode?


we would have to put in the zfs query (hopefull more generic that just for zfs)
the only current working case-insensitive checks are for uwin

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


There is a pathconf(2) check described in the
documentation for the case-insensitive behavior ARC case

http://arc.opensolaris.org/caselog/PSARC/2007/244/spec.txt

Not sure why it's not in the man page...

-tim
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?

2010-04-15 Thread Glenn Fowler

On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote:
> Can I use getconf to test if a ZFS file system is mounted in case
> insensitive mode?

we would have to put in the zfs query (hopefull more generic that just for zfs)
the only current working case-insensitive checks are for uwin

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?

2010-04-14 Thread Joerg Schilling
?   wrote:

> There is no way in the SUS standard to determinate if a file system is
> case insensitive, i.e. with pathconf?

SUS requires a case sensitive filesystem.

There is no need to request this from a POSIX view

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?

2010-04-14 Thread ольга крыжановская
There is no way in the SUS standard to determinate if a file system is
case insensitive, i.e. with pathconf?

Olga

On Wed, Apr 14, 2010 at 7:48 PM, Glenn Fowler  wrote:
>
> On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= 
> wrote:
>> Can I use getconf to test if a ZFS file system is mounted in case
>> insensitive mode?
>
> we would have to put in the zfs query (hopefull more generic that just for 
> zfs)
> the only current working case-insensitive checks are for uwin
>
> ___
> shell-discuss mailing list
> shell-disc...@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/shell-discuss
>



-- 
  ,   __   ,
 { \/`o;-Olga Kryzhanovska   -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
 `'-..-| / Solaris/BSD//C/C++ programmer   \ |-..-'`
  /\/\ /\/\
  `--`  `--`
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss