You can really select 83 without any worries, and then mkfs.xfs will do the rest.
--
//Aho
that's what i did and it worked fine, but when i mount it with HAL, it is
allways owned by root.
does anyone know why?
I guess this is a external hard drive, and that would mean that without fstab
entry the defaults from udev settings will be used.
--
//Aho
> heavytull wrote:
>> On Sun, 09 Mar 2008 19:19:20 +0100, J.O. Aho wrote:
>>
>>> heavytull wrote:
>>>> I would like to know which flag do i have to set in fdisk for an xfs
>>>> partition.
>>> You can really select 83 without any worries, and then mkfs.xfs will
>>> do the rest.
>>
>> that's what i did and it worked fine, but when i mount it with HAL, it
>> is allways owned by root.
>>
>> does anyone know why?
>
> I guess this is a external hard drive, and that would mean that without
> fstab entry the defaults from udev settings will be used.
this is actually an externat HD but note that the vfat partition of the
same HD is owned by the user.
i have another external HD which also has an XFS and a vfat partitions,
only the vfat partition is owned by the user. the XFS one is owned by
root. So as a common user i can mount it but only as RO. Note that for
both HD there not a single entry in /etc/fstab.
The files on it belong to root and the owner doesn't change just
because you mount it with HAL. Unlike FAT and ISO9660 XFS is a Unix
file system that stores full Unix permissions.
Florian
--
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
** Hi! I'm a signature virus! Copy me into your signature, please! **
-----------------------------------------------------------------------
> I would like to know which flag do i have to set in fdisk for an xfs
> partition.
Linux doesn't care about the partition type.
> The files on it belong to root and the owner doesn't change just because
> you mount it with HAL. Unlike FAT and ISO9660 XFS is a Unix file system
> that stores full Unix permissions.
>
>
i think that doesn't matter whom the files on it belong.
what happens if there are files of root and of some other users?
anyway... HAL or mount would have to scan the files on the FS before it
mounts it? it seems quite weird.
> Florian
> On Mon, 10 Mar 2008 08:03:37 +0100, Florian Diesch wrote:
>
>> The files on it belong to root and the owner doesn't change just because
>> you mount it with HAL. Unlike FAT and ISO9660 XFS is a Unix file system
>> that stores full Unix permissions.
>>
>>
> i think that doesn't matter whom the files on it belong.
> what happens if there are files of root and of some other users?
XFS stores the owner for every file, just like ext3 or any other unix
file system, and mount doesn't touch that. If a file belongs to root,
it belongs to root and you can't change that using mount. Use chown on
that file if you want to change the owner.
>
> anyway... HAL or mount would have to scan the files on the FS before it
> mounts it? it seems quite weird.
No need to scan anything.
> XFS stores the owner for every file, just like ext3 or any other unix
> file system, and mount doesn't touch that. If a file belongs to root, it
> belongs to root and you can't change that using mount. Use chown on that
> file if you want to change the owner.
>
>
>> anyway... HAL or mount would have to scan the files on the FS before it
>> mounts it? it seems quite weird.
>
> No need to scan anything.
>
you didn't understand what i meant;
i meant that when i mounted an XFS partition (with HAL) that mount point
will allways be owned by root.
so i don't have write access to that partition.
>
> Florian
That's because the root dir of the partition's file system belongs to
root. When you mount the partition the mount point dir is replaced by
the partition's root dir.