Re: hardlink not working with directories on same file system
From: thegodorange (orange_at_comcast.net)
Date: 11/04/04
- Next message: Darrell Blake: "Writing an OS"
- Previous message: Durk van Veen: "Re: backing up windows on linux - fs and sharing question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 04 Nov 2004 05:07:02 GMT
Mark Hobley wrote:
> I am trying to create a hard link to the directory /mnt/vol1a/www/donk/
> into /mnt/vol1a/home/donk:
>
> su root
> cd /mnt/vol1a
> ln www/donk/ home/donk/www
> ln: `www/': hard link not allowed for directory
> ln -d www/donk/ home/donk/www
> ln: creating hard link `home/donk/www' to `www/donk/':
> Operation not permitted
> cd /
> ln /mnt/vol1a/www/donk/ /mnt/vol1a/home/donk/www
> ln: `/mnt/vol1a/www/donk/': hard link not allowed for directory
> ln -d /mnt/vol1a/www/donk/ /mnt/vol1a/home/donk/www
> ln: creating hard link `/mnt/vol1a/home/donk/www' to `mnt/vol1a/www/donk/':
> Operation not permitted
>
> Documentation seems to suggest that I can hard link directories on the same
> file system.
>
> What is going on ?
>
> cat /etc/mtab reveals:
>
> /dev/hda6 /mnt/vol1a ext2 rw 0 0
>
> A hard link is required because user donk is chrooted to /mnt/vol1a/donk/
>
> Thanks in advance to anyone who can help.
>
> Regards,
>
> Mark.
>
try a mount --bind when hardlinking fails
- Next message: Darrell Blake: "Writing an OS"
- Previous message: Durk van Veen: "Re: backing up windows on linux - fs and sharing question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|