[SOLVED] Rename "flash" share under unRAID 5?


Recommended Posts

It is possible/practical/not too terrible of an idea to rename the "flash" share as "boot" under unRAID 5?

 

I ask only because when I bounce back and forth between administrative and development tasks via SSH and SMB, I'm forever getting "\flash\" vs. "/boot/" wrong on one side of the fence or the other.

 

I know better, but apparently my fingers don't ;)

 

Thanks for any thoughts on this.

 

B

Link to comment

You can change it, but every time you stop and start the array it will be put back.

 

I've never done it, however, you can try and make a secondary pointer to it by copying the FLASH block in /etc/samba/smb-shares.conf to a BOOT block in /boot/config/smb-extra.conf

 

 

root@unRAID:/etc/samba# more smb.conf 
...
        # configurable identification
        include = /etc/samba/smb-names.conf

        # log stuff only to syslog
        log level = 0
        syslog = 0
        syslog only = Yes

        # we don't do printers
        show add printer wizard = No
        disable spoolss = Yes
        load printers = No
        printing = bsd
        printcap name = /dev/null

        # misc.
        max protocol = SMB2
        invalid users = root
        unix extensions = No
        wide links = Yes
        use sendfile = Yes
        aio read size = 0
        aio write size = 0

        # hook for user-defined samba config
        include = /boot/config/smb-extra.conf

        # auto-configured shares
        include = /etc/samba/smb-shares.conf

 

here's the top of the /etc/samba/smb-shares.conf I cannot use the square brackets named FLASH here due to the forum specifics, but take a look at the file and perhaps put a chunk in the include file. 
        path = /boot
        comment = Flash share
        browseable = yes
        # Public
        public = yes
        writeable = yes
        map archive = no
        map system = no
        map hidden = no
        map readonly = yes
        create mask = 0777
        directory mask = 0777

 

 

 

 

Link to comment

Figured I'd have to reboot the box or restart a service or some such thing, but not needed...WeeboTech's suggestion worked perfectly (under admittedly limited testing) and immediately.  Slick!  Thank you.

 

Edit: For future visitors, I'll point out that nothing has been renamed--instead a SMB "boot" alias has been created that also points to the boot drive.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.