Skip to content

Commit 57a465c

Browse files
Merge pull request #283608 from khdownie/patch-1
Update storage-how-to-use-files-linux.md
2 parents 3d5c9b4 + 323b5ec commit 57a465c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/storage/files/storage-how-to-use-files-linux.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: khdownie
55
ms.service: azure-file-storage
66
ms.custom: linux-related-content, devx-track-azurecli
77
ms.topic: how-to
8-
ms.date: 07/26/2024
8+
ms.date: 08/05/2024
99
ms.author: kendownie
1010
---
1111

@@ -289,9 +289,9 @@ HTTP_ENDPOINT=$(az storage account show \
289289
SMB_PATH=$(echo $HTTP_ENDPOINT | cut -c7-${#HTTP_ENDPOINT})$FILE_SHARE_NAME
290290
291291
if [ -z "$(grep $SMB_PATH\ $MNT_PATH /etc/fstab)" ]; then
292-
echo "$SMB_PATH $MNT_PATH cifs _netdev,nofail,credentials=$SMB_CREDENTIAL_FILE,serverino,nosharesock,actimeo=30" | sudo tee -a /etc/fstab > /dev/null
292+
echo "$SMB_PATH $MNT_PATH cifs _netdev,nofail,credentials=$SMB_CREDENTIAL_FILE,serverino,nosharesock,actimeo=30,mfsymlinks" | sudo tee -a /etc/fstab > /dev/null
293293
else
294-
echo "/etc/fstab was not modified to avoid conflicting entries as this Azure file share was already present. You may want to double check /etc/fstab to ensure the configuration is as desired."
294+
echo "/etc/fstab was not modified to avoid conflicting entries as this Azure file share was already present. You might want to double check /etc/fstab to ensure the configuration is as desired."
295295
fi
296296
297297
sudo mount -a
@@ -346,7 +346,7 @@ HTTP_ENDPOINT=$(az storage account show \
346346
--query "primaryEndpoints.file" --output tsv | tr -d '"')
347347
SMB_PATH=$(echo $HTTP_ENDPOINT | cut -c7-$(expr length $HTTP_ENDPOINT))$FILE_SHARE_NAME
348348
349-
echo "$FILE_SHARE_NAME -fstype=cifs,credentials=$SMB_CREDENTIAL_FILE :$SMB_PATH" > /etc/auto.fileshares
349+
echo "$FILE_SHARE_NAME -fstype=cifs,credentials=$SMB_CREDENTIAL_FILE,serverino,nosharesock,actimeo=30,mfsymlinks :$SMB_PATH" > /etc/auto.fileshares
350350
351351
echo "/fileshares /etc/auto.fileshares --timeout=60" > /etc/auto.master
352352
```

0 commit comments

Comments
 (0)