how to remove the symlink ?
I have created a symlink of usb drive and exported via nfs and when i removed the pendrive i unmounted and unlinked the drive but still iam seeing that usb drive directory in my /nfs and when i try to access it iam getting a message as "no such file or directory"
how to solve this issue..I cant do it manually i haveto perform it in c code itself regards |
Try rm link without the forward slash that comes when/If you tab complete
|
Quote:
For example: I have a usb,When i insert it,i Do mount and create a symlink of it and export it via nfs.And when i eject it i will umount it and unlink and remove that linkpath.But iam not able to unlink it successfully...When i do unlink its creating the broken symlink.. regards |
First unlink and next unmount?
|
All times are GMT -5. The time now is 08:55 AM. |