D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: Cliff on October 14, 2008, 12:13:38 PM
-
The EZ Search Utility found my drive fine as Volume_1. To ease typing, I'd like to rename it VOL1. Is this possible, if so how do I rename the volume and will I lose data if the volume is renamed?
I do understand network mappings would have to be redone. Thanks.
-
i dont think this is possible
however, why not just do a susbst within a windows cmd to do this for you?
-
I often do commands from the command line and typing vol1 is so much more convenient than volume_1
-
how about pressing v and then [tab] ? :)
anyhow quick way to change share name would be: create file named fun_plug on Volume_1 and type this in:
#!/bin/sh
/bin/sed "s/\[\ Volume_1\ \]/[\ vol1\ \]/" /etc/samba/smb.conf > /etc/samba/smb.conf.1
mv -f /etc/samba/smb.conf.1 /etc/samba/smb.conf
smb restart
replace vol1 with whatever you want (no special characters or spaces) and restart the nas.